Error appearing at the top of the website

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
robinmarek
Forum Members
Forum Members
Posts: 208
Joined: Thu Nov 13, 2008 4:02 pm

Error appearing at the top of the website

Post by robinmarek »

A CMSMS website I'm working on at the moment (not set up by myself) is running 1.5.2

At the top of every page this error appears, but dissapears when you refresh the page:
string(114) "Smarty error: [in template:27 line 78]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590)" string(110) "Smarty error: [in template:27 line 79]: syntax error: unrecognized tag: (Smarty_Compiler.class.php, line 446)" string(111) "Smarty error: [in template:27 line 79]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"
Any ideas?
uniqu3

Re: Error appearing at the top of the website

Post by uniqu3 »

Do you have a JavaScript in your Template "template:27 line 78"?
robinmarek
Forum Members
Forum Members
Posts: 208
Joined: Thu Nov 13, 2008 4:02 pm

Re: Error appearing at the top of the website

Post by robinmarek »

There are a few javascripts on this site (only 2 of them I put there myself) will try removing them one by one and see which it is.

How can I tell which number a template is?
uniqu3

Re: Error appearing at the top of the website

Post by uniqu3 »

To solve the JavaScript Problem put in your Template {literal} your script {/literal}
You can See the Template id at the bottom of the Browser when you mouseover the link of Template.
robinmarek
Forum Members
Forum Members
Posts: 208
Joined: Thu Nov 13, 2008 4:02 pm

Re: Error appearing at the top of the website

Post by robinmarek »

Yeah I tried putting {literal} {/literal} round the javascripts but doesn't seem to do anything (I always do this on my own templates)

It seems to throw up different errors depending what page I am on
string(114) "Smarty error: [in template:29 line 64]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590)" string(110) "Smarty error: [in template:29 line 65]: syntax error: unrecognized tag: (Smarty_Compiler.class.php, line 446)" string(111) "Smarty error: [in template:29 line 65]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"
alby

Re: Error appearing at the top of the website

Post by alby »

robinmarek wrote: It seems to throw up different errors depending what page I am on
string(114) "Smarty error: [in template:29 line 64]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590)" string(110) "Smarty error: [in template:29 line 65]: syntax error: unrecognized tag: (Smarty_Compiler.class.php, line 446)" string(111) "Smarty error: [in template:29 line 65]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"
Look source in template with ID 29
and check if you have some {  } brackets relative to no-smarty variable

Alby
Post Reply

Return to “CMSMS Core”