Modified content and now receiving a Smarty error.

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
rfrancis
New Member
New Member
Posts: 2
Joined: Thu Sep 30, 2010 10:50 pm

Modified content and now receiving a Smarty error.

Post by rfrancis »

I made a simple content change to the home page of my site and now when I view the public side of the site I all I get is:

string(123) "Smarty error: [in metadata template line 6]: syntax error: unrecognized tag 'literal' (Smarty_Compiler.class.php, line 590)"

The admin side works just fine. I've cleared the cache in the admin control panel, I've deleted file in templates_c.

Not sure what to try next.  The similar problems I see in the forums are related to moving to a new server. Nothing changed other than modifying content.

Thoughts?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Modified content and now receiving a Smarty error.

Post by Dr.CSS »

This tells me you may have added {literal} to the content "unrecognized tag 'literal'" most likely it was with tiny on and it was changed to html entities or something along those lines, go back to the page and see what it looks like with tiny on then look with tiny off...
rfrancis
New Member
New Member
Posts: 2
Joined: Thu Sep 30, 2010 10:50 pm

[SOLVED] Modified content and now receiving a Smarty error.

Post by rfrancis »

Actually found the solution by checking out my content in the database. I had added some javascript to the metadata using {literal} a long time ago. For some reason when I made my changes to the content for the page a huge chunk of the metadata code was stripped out.

Anyway, fixed now.

Thanks for the help!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Modified content and now receiving a Smarty error.

Post by Dr.CSS »

Post Reply

Return to “CMSMS Core”