Smarty errors on every other page load.

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
KuJoe
New Member
New Member
Posts: 7
Joined: Sat Apr 12, 2008 5:21 am

Smarty errors on every other page load.

Post 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. :(
alby

Re: Smarty errors on every other page load.

Post 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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Smarty errors on every other page load.

Post 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).....
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Kdr
New Member
New Member
Posts: 9
Joined: Thu Apr 02, 2009 1:25 pm

Re: Smarty errors on every other page load.

Post 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?
Last edited by Kdr on Mon Apr 06, 2009 3:45 pm, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Smarty errors on every other page load.

Post by Nullig »

Are you putting some javascript in the page?

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

Nullig
Kdr
New Member
New Member
Posts: 9
Joined: Thu Apr 02, 2009 1:25 pm

Re: Smarty errors on every other page load.

Post by Kdr »

The javascript in my templates was the problem.
I didn't put it between {literal} tag's.
Thnx Nullig  :)
Post Reply

Return to “CMSMS Core”