Page 1 of 1
[solved] Blank Edit Page after upgrading to 1.11.3
Posted: Wed Nov 21, 2012 7:24 pm
by urheat
I had 1.11.2.1. I used Full package and upgraded. Everything wen't fine, pages work and most of the admin area. But If I try to edit a page, I get blank page. Source code:
<div id="Edit_Content_Result"></div>
I cleared the cache.
Re: Blank Edit Page after upgrading to 1.11.3
Posted: Wed Nov 21, 2012 7:26 pm
by calguy1000
Re: Blank Edit Page after upgrading to 1.11.3
Posted: Wed Nov 21, 2012 7:37 pm
by urheat
Thank for quick answer!
There is an error in admin log. It's about template:
Code: Select all
{if $smarty.now|cms_date_format:"%H" < '18' && $smarty.now|cms_date_format:"%H" > '6' && $smarty.now|cms_date_format:"%w" < '6' && $smarty.now|cms_date_format:"%w" != '0'}
It says:
unknown modifier cms_date_format
and
no contect block defined in template
??
Re: Blank Edit Page after upgrading to 1.11.3
Posted: Thu Nov 22, 2012 7:28 pm
by urheat
cms_date_format doesn't work anymore as it used, using date_format works:
http://forum.cmsmadesimple.org/viewtopi ... =8&t=64049
Re: [solved] Blank Edit Page after upgrading to 1.11.3
Posted: Fri Nov 23, 2012 9:47 pm
by fredp
Hi Dev Team,
Here's more information about this problem...
I just upgraded a site under development to 1.11.3 (checksums all good post-upload) and found that both the cms_escape and cms_date_format modifier calls in my templates, which didn't change, are no longer being found by Smarty. With edittemplate.php, I can't "Submit" or "Apply" without getting errors like these:
Syntax Error in template "template:appdata;tmp_template" on line 147 "<div class="con_info">Last Modified on {modified_date|cms_date_format} by {last_modified_by format="fullname"}</div>" unknown modifier "cms_date_format"
...
Syntax Error in template "template:appdata;tmp_template" on line 147 "<div class="con_info">Last Modified on {modified_date|cms_escape|cms_date_format} by {last_modified_by format="fullname"}</div>" unknown modifier "cms_escape"
Looks to me like a general cms_* modifier lookup problem was introduced in this release. If, however, this is by design, and not a bug, please update doc/CHANGELOG.txt so that template changes can be made prior to upgrade. Thanks!
Hope this helps,
fredp
P.S. To be clear, I also get "Blank Edit Page"s when trying to edit pages that use these templates--that's why I replied to this thread.
Good News: I submit a
bug on this and found that this issue is
already fixed in svn... will be released with 1.11.4. Thanks Dev Team!