Page 1 of 1

Smarty Error

Posted: Fri Jul 11, 2008 7:56 am
by musashi39
I get this error occasionaly. Refreshing the page always clears it. Is there a way to stop it from showing up at all?
string(148) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: size: 8.5in 11in; margin: 0.79in (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(137) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: margin-bottom: 0.08in (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(137) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: margin-bottom: 0.08in (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(153) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: font-family: "Times New Roman", serif (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(147) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: font-family: "Arial Unicode MS" (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(137) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: font-family: "Tahoma" (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"

Re: Smarty Error

Posted: Fri Jul 11, 2008 8:02 am
by cyberman
You should check your template and content for signs like { or }. It's used for Smarty commands.

In your example Smarty try to interprete your formatting commands to read as Smarty commands.