Page 2 of 2

Posted: Sat Apr 01, 2006 5:31 pm
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...

Posted: Sat Apr 01, 2006 9:11 pm
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

Posted: Sun Apr 02, 2006 12:27 am
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

Posted: Sun Apr 02, 2006 12:39 am
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

Posted: Sun Apr 02, 2006 1:00 am
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