Page 1 of 1

Smarty Error in smartymarkupplugin:3655166125 line 39

Posted: Fri Mar 16, 2012 7:21 am
by bernd_d
What is happening? If i let show only postings with a special tag (for example "serendipity") and change from one page to an earlier one, i get following error:

http://blog.bernd-distler.net/plugin/ta ... ty/P2.html

Code: Select all

Fatal error: Smarty error: [in smartymarkupplugin:3655166125 line 39]: syntax error: unrecognized tag 'return' (Smarty_Compiler.class.php, line 590) in /www/htdocs/w00c40c0/serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1093
Don't know how long this error already is, i found him yesterday evening. I even don't know, if it comes from a plugin, core or theme:(

S9y 1.6, Theme 2k11

Re: Smarty Error in smartymarkupplugin:3655166125 line 39

Posted: Fri Mar 16, 2012 3:07 pm
by garvinhicking
Hi!

You'll probably have an old entry where you pasted javascript with { and } tags in it, and since you enbaled smartymarkup it chokes on that. You need to either disable smartymarkup for that entry (the best way), or you need to edit the entry so that you use {ldelim} and {rdelim} or wrap a {literal}...{/literal} around it.

Regards,
Garvin

Re: Smarty Error in smartymarkupplugin:3655166125 line 39

Posted: Mon Mar 19, 2012 8:49 am
by bernd_d
Thank you. Now i still have to find this entry :|

Re: Smarty Error in smartymarkupplugin:3655166125 line 39

Posted: Mon Mar 19, 2012 9:27 am
by Timbalu
Can be found quite easy by archive function:
http://blog.bernd-distler.net/archives/ ... esign.html

PS. Did you somewhere document how you build the single page navigation in the extended entry view?

Re: Smarty Error in smartymarkupplugin:3655166125 line 39

Posted: Mon Mar 19, 2012 11:10 am
by bernd_d
Timbalu wrote:Can be found quite easy by archive function:
http://blog.bernd-distler.net/archives/ ... esign.html
Thank you :) I used {literal}...{/literal} to make it work.
Timbalu wrote:PS. Did you somewhere document how you build the single page navigation in the extended entry view?
I did nothing like this. That's 2k11 :)

Re: Smarty Error in smartymarkupplugin:3655166125 line 39

Posted: Mon Mar 19, 2012 3:23 pm
by Timbalu
bernd_d wrote:
Timbalu wrote:PS. Did you somewhere document how you build the single page navigation in the extended entry view?
I did nothing like this. That's 2k11 :)
Well, ...yes, CSS-wise..., and with a little help from serendipity_event_entrypaging plugin. I always forget about it, thinking it should be in core...! :wink:
http://board.s9y.org/viewtopic.php?f=5& ... #p10425733

Re: Smarty Error in smartymarkupplugin:3655166125 line 39

Posted: Mon Mar 19, 2012 3:27 pm
by yellowled
Timbalu wrote:
bernd_d wrote:I did nothing like this. That's 2k11 :)
Well, ...yes, CSS-wise..., and with a little help from serendipity_event_entrypaging plugin.
Anything you want to know about the CSS part of it in 2k11?

YL

Re: Smarty Error in smartymarkupplugin:3655166125 line 39

Posted: Mon Mar 19, 2012 4:05 pm
by Timbalu
yellowled wrote:Anything you want to know about the CSS part of it in 2k11?
No, thank you. It was again the forgotten non-nativ-core entrypaging itself.