last article on static page

Having trouble installing serendipity?
smartieskiller
Regular
Posts: 43
Joined: Sun Mar 12, 2006 3:15 am

Post by smartieskiller »

i take my bakupfunctions_smarty.inc.php and with the smarty pluggins the error is here too.i've never see this error before.
when i delete the smarty pluggin the error goes too,
but with smarty pluggin and the new include/functions_smarty.inc.php the error is still there too.
Strange Strange...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Maybe you have too many entries now, and you should use the "limit=5" parameter in your smarty function call? In the last example you posted you didn'T use that. If you now have many entries, this can easily use up all your memory...?!

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/
smartieskiller
Regular
Posts: 43
Joined: Sun Mar 12, 2006 3:15 am

Post by smartieskiller »

great
i put the limit=5 and now it work like a Charm

for the index page
but i having this error when clicking on a categorie

Code: Select all

Fatal error: Smarty error: [in smartymarkupplugin:1659967901 line 1]: syntax error: unrecognized tag: if(document.designMode && document.designMode == 'on') return false; (Smarty_Compiler.class.php, line 436) in /var/www/sdb/3/1/smartieskiller/serendipity/bundled-libs/Smarty/libs/Smarty.class.php on line 1088
smartieskiller
Regular
Posts: 43
Joined: Sun Mar 12, 2006 3:15 am

Post by smartieskiller »

opla
corrected by putting in the right place the "
serendipity-1.0-beta1\serendipity\bundled-libs\Smarty\libs\Smarty.class.php

Line:1088 must be like this:

trigger_error("Smarty error: $error_msg , $error_type");
:D
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You cannot use { and } in code parsed by the smarty markup plugin. Must replace those with {ldelim} and {rdelim}, because {/} are special smarty tags.

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/
Post Reply