[SOLVED] Smarty error - What is that?

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
LarsPoulsen
New Member
New Member
Posts: 3
Joined: Tue Oct 11, 2011 3:33 pm

[SOLVED] Smarty error - What is that?

Post by LarsPoulsen »

Hi,

I'm building my first website with CMS Made Simple.

On one of my pages, I get this mumbo-jumbo when viewing the page in any browser:

string(115) "Smarty error: [in metadata template line 5]: syntax error: unrecognized tag: (Smarty_Compiler.class.php, line 446)" string(116) "Smarty error: [in metadata template line 5]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"

What do I do wrong?


Lars
Last edited by LarsPoulsen on Mon Nov 28, 2011 9:05 am, edited 1 time in total.
janaf
Forum Members
Forum Members
Posts: 183
Joined: Sun Jan 10, 2010 7:02 pm

Re: Smarty error - What is that?

Post by janaf »

Hi,

You better tell us what you have tried to do and post the code. Otherwise it is impossible to help you.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Smarty error - What is that?

Post by Wishbone »

If you have any javascript, styles or anything with curly braces, make sure you enclose them with {literal} {/literal}
uniqu3

Re: Smarty error - What is that?

Post by uniqu3 »

What i read from error it means that in "Global Settings -> Global Metadata" you have an error on line 5.
LarsPoulsen
New Member
New Member
Posts: 3
Joined: Tue Oct 11, 2011 3:33 pm

Re: Smarty error - What is that?

Post by LarsPoulsen »

Found it!

At the page in question, I had deleted the text between the { } brackets, regarding the specific metadata for the page. When I wrote * something * between the brackets, the error disapeared!

Sorry for the trouble :)


Lars
LarsPoulsen
New Member
New Member
Posts: 3
Joined: Tue Oct 11, 2011 3:33 pm

[SOLVED] Smarty error - What is that?

Post by LarsPoulsen »

Sorry - forgot to mark the thread "solved".
janaf
Forum Members
Forum Members
Posts: 183
Joined: Sun Jan 10, 2010 7:02 pm

Re: Smarty error - What is that?

Post by janaf »

No prob.

Now, please go to your first post and edit the title of this string, add [Solved] at the beginning :-)
Post Reply

Return to “CMSMS Core”