Page 1 of 1

[SOLVED] SmartyCompilerException with message Syntax Error

Posted: Thu Dec 06, 2012 5:16 am
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

Re: SmartyCompilerException with message Syntax Error

Posted: Sun Dec 09, 2012 4:00 am
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