Page 1 of 1

Smarty error on many pages

Posted: Sun Sep 21, 2008 10:05 pm
by cruz.dre
Hi,
I keen getting errors on all my pages that look like this -

string(167) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: FONT-SIZE: 12pt; COLOR: #333333; FONT-FAMILY: Arial (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(172) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: COLOR: #333333; font-family: Arial; font-size: 12pt; (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)"

When I refresh the page it goes away, but every time a page is loaded for the first time it shows this error.

Can anyone tell me why this is?

The website is www.iceangels.co.nz and one of the pages that has the error is http://iceangels.co.nz/index.php?page=our-investments

Thanks in advance :)

Re: Smarty error on many pages

Posted: Sun Sep 21, 2008 11:31 pm
by Augustas
Hm, I don't see any errors on your page.
But from your description looks like you have CSS code inside your HTML code. If so, then surround CSS code with

Code: Select all

{literal}
{/literal}
More about this smarty command here:
http://www.smarty.net/manual/en/languag ... iteral.php