Blank page when editing a page.
Blank page when editing a page.
Hi,
I'm getting a blank page when attempting to edit a page. The CMS was working fine and no amendments were made to the configuration or any new modules installed.
But over a short period of time all the page editing started to return a blank page. The content renders on the front end but editing is imposable.
I was having a similar problem a month or so ago and fixed it by installing v 1.11.5 but the problem seems to have returned.
The only problem I can see in System Information is Server Db Grants: Could not find a suitable "GRANT ALL" permission.
Could this be a problem with my server configuration?
Regards Mark.
----------------------------------------------
Cms Version: 1.11.5
Installed Modules:
CMSMailer: 5.2.1
CMSPrinting: 1.0.4
FileManager: 1.4.3
MenuManager: 1.8.5
MicroTiny: 1.2.5
ModuleManager: 1.5.5
News: 2.12.12
Search: 1.7.8
ThemeManager: 1.1.8
CMSForms: 1.0.1
CMSUsers: 1.0.10
CGExtensions: 1.32.6
FrontEndUsers: 1.21.14
Captcha: 0.4.6
CustomContent: 1.9
SelfRegistration: 1.7.8
Gallery: 1.6.1
SFacebook: 0.1
Ballots: 1.0
CGSimpleSmarty: 1.6.1
CGFeedback: 1.5.11
avplayer: 1.3.2
Config Information:
php_memory_limit:
process_whole_template:
output_compression:
max_upload_size: 10000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.3.23
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 24M
max_execution_time: 60
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 10M
upload_max_filesize: 10M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.30
Server Db Grants: Could not find a suitable "GRANT ALL" permission. This may mean you could have problems installing or removing modules. Or even adding and deleting items, including pages
I'm getting a blank page when attempting to edit a page. The CMS was working fine and no amendments were made to the configuration or any new modules installed.
But over a short period of time all the page editing started to return a blank page. The content renders on the front end but editing is imposable.
I was having a similar problem a month or so ago and fixed it by installing v 1.11.5 but the problem seems to have returned.
The only problem I can see in System Information is Server Db Grants: Could not find a suitable "GRANT ALL" permission.
Could this be a problem with my server configuration?
Regards Mark.
----------------------------------------------
Cms Version: 1.11.5
Installed Modules:
CMSMailer: 5.2.1
CMSPrinting: 1.0.4
FileManager: 1.4.3
MenuManager: 1.8.5
MicroTiny: 1.2.5
ModuleManager: 1.5.5
News: 2.12.12
Search: 1.7.8
ThemeManager: 1.1.8
CMSForms: 1.0.1
CMSUsers: 1.0.10
CGExtensions: 1.32.6
FrontEndUsers: 1.21.14
Captcha: 0.4.6
CustomContent: 1.9
SelfRegistration: 1.7.8
Gallery: 1.6.1
SFacebook: 0.1
Ballots: 1.0
CGSimpleSmarty: 1.6.1
CGFeedback: 1.5.11
avplayer: 1.3.2
Config Information:
php_memory_limit:
process_whole_template:
output_compression:
max_upload_size: 10000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.3.23
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 24M
max_execution_time: 60
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 10M
upload_max_filesize: 10M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.30
Server Db Grants: Could not find a suitable "GRANT ALL" permission. This may mean you could have problems installing or removing modules. Or even adding and deleting items, including pages
-
staartmees
- Power Poster

- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: Blank page when editing a page.
do you have {cms_stylesheet} in your templates? See warning notice http://themes.cmsmadesimple.org/
Re: Blank page when editing a page.
Hi yes I'm using {cms_stylesheet}
I had found this post http://dev.cmsmadesimple.org/bug/view/8778 and checked earlier.
M
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
{* Change lang="en" to the language of your site *}
{* note: anything inside these are smarty comments, they will not show up in the page source *}
<head>
{metadata}
{if isset($canonical)}<link rel="canonical" href="{$canonical}" />{elseif isset($content_obj)}<link rel="canonical" href="{$content_obj->GetURL()}" />{/if}
<title>{title} | {sitename}</title>
{* The sitename is changed in Site Admin/Global settings. {title} is the name of each page *}
{metadata}
{* Don't remove this! Metadata is entered in Site Admin/Global settings. *}
{cms_stylesheet}
{* This is how all the stylesheets attached to this template are linked to *}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
{* Relational links for interconnections between pages, good for accessibility and Search Engine Optmization *}
<!--[if IE 6]>
<__script__ type="text/javascript" src="modules/MenuManager/CSSMenu.js"></__script>
<![endif]-->
{* The above JavaScript is required for Menu - NCleanBlue-css to work in IE6 *}
{* the literal below and the /literal at the end are needed whenever there are {"curly brackets"} as smarty will think it's something to process and will throw an error *}
{* IE6 png fix *}
{literal}
<!--[if IE 6]>
<__script__ type="text/javascript" src="uploads/NCleanBlue/js/ie6fix.js"></__script>
<__script__ type="text/javascript">
// argument is a CSS selector
DD_belatedPNG.fix('.sbar-top,.sbar-bottom,.main-top,.main-bottom,#version');
</__script>
<style type="text/css">
/* enable background image caching in IE6 */
html {filter:expression(document.execCommand("BackgroundImageCache", false, true));}
</style>
<![endif]-->
<style type="text/css" media="screen"><!--
-->
</style>
{/literal}
</head>
{if !$ccuser->loggedin()}{redirect_page page='Login'}{/if}
</__body>
<div id="wrapper">
<div id="header">
<div class="fixedMenuBox">
<div>About US</div>
<div><a href="index.php/contact">Contact Us</a></div>
<div><a href="index.php/Links">Links</a></div>
<div><a href="index.php/Privacy">Privacy Policy</a></div>
</div>
<div class="fixedMenuBox1">
<div>Members</div>
<div><a href="index.php/oldMembers">Old Members</a></div>
<div><a href="index.php/Login">Member login</a></div>
<div><a href="{root_url}/admin">Committee login</a></div>
</div>
</div>
<div id="navigation">
<ul id="menu-bar">
{menu template='u17 front'}
</ul>
<div class="searchBox">
{search search_method="post"}
</div>
</div>
<div id="pagepic"><img src="uploads/images/{page_attr key="image"}" alt="" width="900" height="360" /></div>
<div id="leftcolumn">
{content block="left_content_block" label="Left Content Block"}
</div>
<div id="content">
{content}
</div>
<div id="footer">
<div id="footerContent">{global_content name='footer'}</div>
</div>
</div>
<__body>
</__html>
I had found this post http://dev.cmsmadesimple.org/bug/view/8778 and checked earlier.
M
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
{* Change lang="en" to the language of your site *}
{* note: anything inside these are smarty comments, they will not show up in the page source *}
<head>
{metadata}
{if isset($canonical)}<link rel="canonical" href="{$canonical}" />{elseif isset($content_obj)}<link rel="canonical" href="{$content_obj->GetURL()}" />{/if}
<title>{title} | {sitename}</title>
{* The sitename is changed in Site Admin/Global settings. {title} is the name of each page *}
{metadata}
{* Don't remove this! Metadata is entered in Site Admin/Global settings. *}
{cms_stylesheet}
{* This is how all the stylesheets attached to this template are linked to *}
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
{* Relational links for interconnections between pages, good for accessibility and Search Engine Optmization *}
<!--[if IE 6]>
<__script__ type="text/javascript" src="modules/MenuManager/CSSMenu.js"></__script>
<![endif]-->
{* The above JavaScript is required for Menu - NCleanBlue-css to work in IE6 *}
{* the literal below and the /literal at the end are needed whenever there are {"curly brackets"} as smarty will think it's something to process and will throw an error *}
{* IE6 png fix *}
{literal}
<!--[if IE 6]>
<__script__ type="text/javascript" src="uploads/NCleanBlue/js/ie6fix.js"></__script>
<__script__ type="text/javascript">
// argument is a CSS selector
DD_belatedPNG.fix('.sbar-top,.sbar-bottom,.main-top,.main-bottom,#version');
</__script>
<style type="text/css">
/* enable background image caching in IE6 */
html {filter:expression(document.execCommand("BackgroundImageCache", false, true));}
</style>
<![endif]-->
<style type="text/css" media="screen"><!--
-->
</style>
{/literal}
</head>
{if !$ccuser->loggedin()}{redirect_page page='Login'}{/if}
</__body>
<div id="wrapper">
<div id="header">
<div class="fixedMenuBox">
<div>About US</div>
<div><a href="index.php/contact">Contact Us</a></div>
<div><a href="index.php/Links">Links</a></div>
<div><a href="index.php/Privacy">Privacy Policy</a></div>
</div>
<div class="fixedMenuBox1">
<div>Members</div>
<div><a href="index.php/oldMembers">Old Members</a></div>
<div><a href="index.php/Login">Member login</a></div>
<div><a href="{root_url}/admin">Committee login</a></div>
</div>
</div>
<div id="navigation">
<ul id="menu-bar">
{menu template='u17 front'}
</ul>
<div class="searchBox">
{search search_method="post"}
</div>
</div>
<div id="pagepic"><img src="uploads/images/{page_attr key="image"}" alt="" width="900" height="360" /></div>
<div id="leftcolumn">
{content block="left_content_block" label="Left Content Block"}
</div>
<div id="content">
{content}
</div>
<div id="footer">
<div id="footerContent">{global_content name='footer'}</div>
</div>
</div>
<__body>
</__html>
Re: Blank page when editing a page.
My style sheets use ../../ instead of [[root_url]] could this be my problem?
M
.cssSideMenu{margin:0; padding:0; width:250px; list-style:none;background:rgb(255,255,255);}
.cssSideMenu li{padding:0; margin:0 0 1px 0; height:40px; display:block; }
.cssSideMenu li a{text-align:left;height:40px; padding:0px 25px; font: bold 12px Verdana, Arial, Helvetica, sans-serif; color:rgb(68,68,68); display:block; background:url('../../uploads/verMenuImages.png') 0px 0px no-repeat; text-decoration:none;}
.cssSideMenu li a:hover{background:url('../../uploads/verMenuImages.png') 0px -40px no-repeat; color:rgb(255,255,255);}
.cssSideMenu li a.active, .cssSideMenu li a.active:hover{background:url('../../uploads/verMenuImages.png') 0px -80px no-repeat; color:rgb(255,255,255);}
.cssSideMenu li a span{line-height:40px;}
M
.cssSideMenu{margin:0; padding:0; width:250px; list-style:none;background:rgb(255,255,255);}
.cssSideMenu li{padding:0; margin:0 0 1px 0; height:40px; display:block; }
.cssSideMenu li a{text-align:left;height:40px; padding:0px 25px; font: bold 12px Verdana, Arial, Helvetica, sans-serif; color:rgb(68,68,68); display:block; background:url('../../uploads/verMenuImages.png') 0px 0px no-repeat; text-decoration:none;}
.cssSideMenu li a:hover{background:url('../../uploads/verMenuImages.png') 0px -40px no-repeat; color:rgb(255,255,255);}
.cssSideMenu li a.active, .cssSideMenu li a.active:hover{background:url('../../uploads/verMenuImages.png') 0px -80px no-repeat; color:rgb(255,255,255);}
.cssSideMenu li a span{line-height:40px;}
-
staartmees
- Power Poster

- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: Blank page when editing a page.
I had the same problem with one site and solved it by removing
Code: Select all
{if isset($canonical)}<link rel="canonical" href="{$canonical}" />{elseif isset($content_obj)}<link rel="canonical" href="{$content_obj->GetURL()}" />{/if}
Re: Blank page when editing a page.
Thanks for your help, but no that hasn't solved the problem! I removed it form all my templates... The blank screen changed from complete white out, to showing the cmsms nav once before I removed it from the last template.staartmees wrote:I had the same problem with one site and solved it by removing
Code: Select all
{if isset($canonical)}<link rel="canonical" href="{$canonical}" />{elseif isset($content_obj)}<link rel="canonical" href="{$content_obj->GetURL()}" />{/if}
But I'm back to a blank page and wondering if my problem is [[root_url]] ?
if I replace ../../ with [[root_url]] is it a straight replace or do I need to add a slash? [[root_url]]/
M
Re: Blank page when editing a page.
turn on debugging (config.php)
look in the error logs of your server
look in .htaccess if displaying of errors is disabled
check UDT for die() without displaying errors
look in the error logs of your server
look in .htaccess if displaying of errors is disabled
check UDT for die() without displaying errors
Re: Blank page when editing a page.
I turned on debugging and have a stack of debug info on the select page screen but as soon as I select a page it returns a page that breaks at;velden wrote:turn on debugging (config.php)
look in the error logs of your server
look in .htaccess if displaying of errors is disabled
check UDT for die() without displaying errors
<div id="oe_mainarea" class="cf">
With no debug info.
Re: Blank page when editing a page.
This can't be valid
Code: Select all
<img src="uploads/images/{page_attr key="image"}" alt="" width="900" height="360" /> - + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Blank page when editing a page.
Is that my problem Rolf ?Rolf wrote:This can't be validCode: Select all
<img src="uploads/images/{page_attr key="image"}" alt="" width="900" height="360" />
What would be the correct form?
Re: Blank page when editing a page.
Code: Select all
<img src="uploads/images/{page_attr key='image'}" alt="" width="900" height="360" /> - + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Blank page when editing a page.
Thanks Rolf,Rolf wrote:Small but import differenceCode: Select all
<img src="uploads/images/{page_attr key='image'}" alt="" width="900" height="360" />
Have changed it on all templates but still have a blank page!
I haven't replaced ../../ on my css templates as yet. Is this an issue ?
Still baffled!
M
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Blank page when editing a page.
A white screen means an error. The error is somewhere you just have to find it:
http://docs.cmsmadesimple.org/troubleshooting/tips
If you cannot get at your error logs, and/or enable them, then contact your host.
http://docs.cmsmadesimple.org/troubleshooting/tips
If you cannot get at your error logs, and/or enable them, then contact your host.
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.
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.
Re: Blank page when editing a page.
Thanks calguy, unfortunately the site goes from uneditable to down on the front end when I apply error logs.calguy1000 wrote:A white screen means an error. The error is somewhere you just have to find it:
http://docs.cmsmadesimple.org/troubleshooting/tips
If you cannot get at your error logs, and/or enable them, then contact your host.
I get no errors on the white out page!
Re: Blank page when editing a page.
You already tried Clear Cache (remove all files in folder /tmp/templates_c) and CTRL F5 webbrowser?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -


