Page 1 of 1

[SOLVED] Smarty error - What is that?

Posted: Sun Nov 27, 2011 2:27 pm
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

Re: Smarty error - What is that?

Posted: Sun Nov 27, 2011 3:35 pm
by janaf
Hi,

You better tell us what you have tried to do and post the code. Otherwise it is impossible to help you.

Re: Smarty error - What is that?

Posted: Sun Nov 27, 2011 3:40 pm
by Wishbone
If you have any javascript, styles or anything with curly braces, make sure you enclose them with {literal} {/literal}

Re: Smarty error - What is that?

Posted: Sun Nov 27, 2011 6:38 pm
by uniqu3
What i read from error it means that in "Global Settings -> Global Metadata" you have an error on line 5.

Re: Smarty error - What is that?

Posted: Sun Nov 27, 2011 9:48 pm
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

[SOLVED] Smarty error - What is that?

Posted: Sun Nov 27, 2011 9:50 pm
by LarsPoulsen
Sorry - forgot to mark the thread "solved".

Re: Smarty error - What is that?

Posted: Mon Nov 28, 2011 9:03 am
by janaf
No prob.

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