The Serendipity Handbook

You can now read the (german) handbook here: PDF - https://github.com/s9y/Book (LaTeX source).

Forum-Information

Before posting about errors, make sure that the answer cannot already be found in our FAQ or by searching this forum!
Posting is restricted to registered users (registering is free and simple!) due to recent spam attacks. When having trouble with this board, contact garvin(-at)s9y(-dot)org.

Board index Bugs Smarty Error in smartymarkupplugin:3655166125 line 39

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

Postby bernd_d » Fri Mar 16, 2012 8:21 am

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/tag/serendipity/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

User avatar
garvinhicking
Core Developer
 
Posts: 28953
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany

Postby garvinhicking » Fri Mar 16, 2012 4:07 pm

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: 182
Joined: Thu Jun 03, 2010 9:28 am

Postby bernd_d » Mon Mar 19, 2012 9:49 am

Thank you. Now i still have to find this entry :|

User avatar
Timbalu
Regular
 
Posts: 2564
Joined: Sun May 02, 2004 3:04 pm

Postby Timbalu » Mon Mar 19, 2012 10:27 am

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

bernd_d
Regular
 
Posts: 182
Joined: Thu Jun 03, 2010 9:28 am

Postby bernd_d » Mon Mar 19, 2012 12:10 pm

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 :)

User avatar
Timbalu
Regular
 
Posts: 2564
Joined: Sun May 02, 2004 3:04 pm

Postby Timbalu » Mon Mar 19, 2012 4:23 pm

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:
viewtopic.php?f=5&t=17846&p=10425733#p10425733
Regards,
Ian

User avatar
yellowled
Regular
 
Posts: 4884
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany

Postby yellowled » Mon Mar 19, 2012 4:27 pm

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

User avatar
Timbalu
Regular
 
Posts: 2564
Joined: Sun May 02, 2004 3:04 pm

Postby Timbalu » Mon Mar 19, 2012 5:05 pm

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



Return to Bugs

Who is online

Users browsing this forum: Google [Bot] and 0 guests