Smarty Error in smartymarkupplugin:3655166125 line 39

Found a bug? Tell us!!
Post Reply
bernd_d
Regular
Posts: 468
Joined: Thu Jun 03, 2010 9:28 am
Contact:

Smarty Error in smartymarkupplugin:3655166125 line 39

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Smarty Error in smartymarkupplugin:3655166125 line 39

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
bernd_d
Regular
Posts: 468
Joined: Thu Jun 03, 2010 9:28 am
Contact:

Re: Smarty Error in smartymarkupplugin:3655166125 line 39

Post by bernd_d »

Thank you. Now i still have to find this entry :|
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Smarty Error in smartymarkupplugin:3655166125 line 39

Post 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?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
bernd_d
Regular
Posts: 468
Joined: Thu Jun 03, 2010 9:28 am
Contact:

Re: Smarty Error in smartymarkupplugin:3655166125 line 39

Post 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 :)
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Smarty Error in smartymarkupplugin:3655166125 line 39

Post 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
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Smarty Error in smartymarkupplugin:3655166125 line 39

Post 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
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Smarty Error in smartymarkupplugin:3655166125 line 39

Post 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.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Post Reply