Hello,
I have edited html template for CMSMS, sometimes, when I am going to my web page I getting this error
string(195) "Smarty error: [in template:20 line 9]: syntax error: unrecognized tag: color: #EF6D00; font-size: 14px; font-family: Verdana, Arial, Helvetica, sans-serif; (Smarty_Compiler.class.php, line 439)" string(110) "Smarty error: [in template:20 line 9]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 583)" string(125) "Smarty error: [in template:20 line 12]: syntax error: unrecognized tag: font-size: 12px (Smarty_Compiler.class.php, line 439)" string(111) "Smarty error: [in template:20 line 12]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 583)" string(124) "Smarty error: [in template:20 line 13]: syntax error: unrecognized tag: color: #009900 (Smarty_Compiler.class.php, line 439)" string(111) "Smarty error: [in template:20 line 13]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 583)" string(124) "Smarty error: [in template:20 line 14]: syntax error: unrecognized tag: color: #CC0000 (Smarty_Compiler.class.php, line 439)" string(111) "Smarty error: [in template:20 line 14]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 583)" string(124) "Smarty error: [in template:20 line 15]: syntax error: unrecognized tag: color: #EF6D00 (Smarty_Compiler.class.php, line 439)" string(111) "Smarty error: [in template:20 line 15]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 583)" string(124) "Smarty error: [in template:20 line 16]: syntax error: unrecognized tag: color: #000000 (Smarty_Compiler.class.php, line 439)" string(111) "Smarty error: [in template:20 line 16]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 583)" string(144) "Smarty error: [in template:20 line 17]: syntax error: unrecognized tag: color: #EF6D00; font-weight: bold; (Smarty_Compiler.class.php, line 439)" string(111) "Smarty error: [in template:20 line 17]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 583)"
When I reload page, error disappear
What I should do?
getting error need help
getting error need help
Last edited by tcomics on Tue Jun 26, 2007 8:17 am, edited 1 time in total.
Re: getting error need help
Check template source once again - there must be mistakes.
Normally a CMSms template is "only" a xhtml file with Smarty tags inside. Smarty is CMSms template engine. Smarty tags have { and } as delimiter. On a page call Smarty tries to interpret this tags. There's something inside you template where Smarty think, it has something to interpret.
Normally a CMSms template is "only" a xhtml file with Smarty tags inside. Smarty is CMSms template engine. Smarty tags have { and } as delimiter. On a page call Smarty tries to interpret this tags. There's something inside you template where Smarty think, it has something to interpret.
-
- Forum Members
- Posts: 126
- Joined: Sun Feb 26, 2006 7:10 pm
Re: getting error need help
If you have any { } symbols in the template you need to add {literal} {/literal} around them so smarty doesn't try to parse them. Are you using styles in the head of your document or linking/importing them?