[SOLVED] SmartyCompilerException with message Syntax 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
User avatar
frankmanl
Power Poster
Power Poster
Posts: 425
Joined: Sat Jul 12, 2008 3:50 am

[SOLVED] SmartyCompilerException with message Syntax Error

Post by frankmanl »

Last week all was OK, this weekend I upgraded from 1.11.2.1 to 1.11.3 and now I just found out I can't manage my pages anymore.
When I want to open a page to edit it I get a blank page. (The front side has no problems.)
It has to do with the template (as a test I imported another template - that worked well) that was perfectly allrigt last week. I did not change anything in that template.
The error log says:
ERROR ERROR DETECTED: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "template:31" on line 4 "<title>alertgroepen.nl | {menu_text}{if $page_alias == "nieuws"} | {$entry-&gt
The complete line of code in the template is

Code: Select all

<title>alertgroepen.nl | {menu_text}{if $page_alias == "nieuws"} | {$entry->title|cms_escape:htmlall}{/if}</title>
What happened? How can I solve this?

Frank
Last edited by frankmanl on Sun Dec 09, 2012 4:01 am, edited 1 time in total.
User avatar
frankmanl
Power Poster
Power Poster
Posts: 425
Joined: Sat Jul 12, 2008 3:50 am

Re: SmartyCompilerException with message Syntax Error

Post by frankmanl »

Solved in SVN and available in 1.11.4
The problem is caused by cms_escape.
See http://dev.cmsmadesimple.org/bug/view/8686
Post Reply

Return to “CMSMS Core”