Page 1 of 1

Smarty errors on every other page load.

Posted: Sun Mar 22, 2009 6:51 pm
by KuJoe
I'm getting the following errors on the top of each page but only on every other page load:

Code: Select all

string(122) "Smarty error: [in template:22 line 18]: syntax error: unrecognized tag 'ss_selflink' (Smarty_Compiler.class.php, line 590)" string(122) "Smarty error: [in template:22 line 19]: syntax error: unrecognized tag 'ss_selflink' (Smarty_Compiler.class.php, line 590)" string(122) "Smarty error: [in template:22 line 20]: syntax error: unrecognized tag 'ss_selflink' (Smarty_Compiler.class.php, line 590)" string(122) "Smarty error: [in template:22 line 71]: syntax error: unrecognized tag 'ss_selflink' (Smarty_Compiler.class.php, line 590)" 
I've upgraded to the latest version but with no luck. :(

Re: Smarty errors on every other page load.

Posted: Sun Mar 22, 2009 6:55 pm
by alby
KuJoe wrote: I'm getting the following errors on the top of each page but only on every other page load:
Check template of these pages.
You have {ss_selflink ....} instead of {cms_selflink ....}

Alby

Re: Smarty errors on every other page load.

Posted: Sun Mar 22, 2009 7:02 pm
by calguy1000
Smarty error: [in template:22 line 18]
That means line 18 of the template with the id 22 (you can see the template id in the url on the status bar when hovering over the template in listcontent).....

Re: Smarty errors on every other page load.

Posted: Mon Apr 06, 2009 3:43 pm
by Kdr
I have a similar problem.
When I edit a page and then view it in the browser I get a Smarty Error message.

Error message:
string(114) "Smarty error: [in tpl_body:22 line 43]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590)" string(110) "Smarty error: [in tpl_body:22 line 44]: syntax error: unrecognized tag: (Smarty_Compiler.class.php, line 446)" string(111) "Smarty error: [in tpl_body:22 line 44]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"

CMS version = 1.5.3

Does someone know how I can fix this?

Re: Smarty errors on every other page load.

Posted: Mon Apr 06, 2009 4:07 pm
by Nullig
Are you putting some javascript in the page?

Do you have a link, so we can see what's happening?

Nullig

Re: Smarty errors on every other page load.

Posted: Tue Apr 14, 2009 8:48 am
by Kdr
The javascript in my templates was the problem.
I didn't put it between {literal} tag's.
Thnx NulligĀ  :)