Smarty error on many pages

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
cruz.dre
New Member
New Member
Posts: 2
Joined: Sun Jun 15, 2008 11:57 pm

Smarty error on many pages

Post 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 :)
User avatar
Augustas
Forum Members
Forum Members
Posts: 241
Joined: Wed Oct 17, 2007 6:09 pm

Re: Smarty error on many pages

Post 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
http://FollowTheRoad.com/ - living on the road...
http://www.kligys.com/ - asmeninis blog'as...
Post Reply

Return to “CMSMS Core”