[solved] Blank Edit Page after upgrading to 1.11.3

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am

[solved] Blank Edit Page after upgrading to 1.11.3

Post 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.
Last edited by urheat on Thu Nov 22, 2012 7:29 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Blank Edit Page after upgrading to 1.11.3

Post by calguy1000 »

http://docs.cmsmadesimple.org/troubleshooting/tips

Edit: Also check the CMSMS Admin log for errors.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am

Re: Blank Edit Page after upgrading to 1.11.3

Post by urheat »

calguy1000 wrote:http://docs.cmsmadesimple.org/troubleshooting/tips

Edit: Also check the CMSMS Admin log for errors.
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

??
urheat
Forum Members
Forum Members
Posts: 243
Joined: Sat Oct 17, 2009 6:50 am

Re: Blank Edit Page after upgrading to 1.11.3

Post by urheat »

cms_date_format doesn't work anymore as it used, using date_format works: http://forum.cmsmadesimple.org/viewtopi ... =8&t=64049
fredp
Forum Members
Forum Members
Posts: 218
Joined: Sun Jul 27, 2008 1:36 am

Re: [solved] Blank Edit Page after upgrading to 1.11.3

Post 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!
Nearly all men can stand adversity, but if you want to test a man's character, give him power.
- Abraham Lincoln
Locked

Return to “[locked] Installation, Setup and Upgrade”