Intermittent blank pages

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.
Locked
tsaiger

Intermittent blank pages

Post by tsaiger »

HI,

I have recently restored a CMS site after a server died on me. After restoring the DB i am getting intermittent blank pages, if you click on a link you may get the page, if go somwhere else and click on the liink again you may get a blank page. Sometimes CTRL/F5 reloads the page sometimes it doesn't.

Going into the admin and resaving the page also sometimes fixes it. I have tried it with Cache/No Cache but with no Cache it just get error codes.
I have also deleted the cache files from tmp including template_c but still get the issue.

Can anyone help?

Apart from blank pages I also get the following:
{nocache:6aef611a2e90f5a71e11ad45cc027309#1} {/nocache:6aef611a2e90f5a71e11ad45cc027309#1} {nocache:6aef611a2e90f5a71e11ad45cc027309#2} {/nocache:6aef611a2e90f5a71e11ad45cc027309#2} {nocache:6aef611a2e90f5a71e11ad45cc027309#3}

Apache log shows:
[client 83.104.37.211] PHP Warning:  fread(): Length parameter must be greater than 0. in /html/cmsdemo/lib/classes/class.content.inc.php on line 2010
[client 83.104.37.211] PHP Fatal error:  Call to a member function on a non-object in /html/cmsdemo/plugins/function.cms_selflink.php on line 111
[client 83.104.37.211] PHP Warning:  fread(): Length parameter must be greater than 0. in /html/cmsdemo/lib/classes/class.content.inc.php on line 2010
[client 83.104.37.211] PHP Fatal error:  Call to a member function on a non-object in /html/cmsdemo/plugins/function.cms_selflink.php on line 111
Last edited by tsaiger on Fri Jul 14, 2006 3:09 pm, edited 1 time in total.
tsaiger

Re: Intermittent blank pages

Post by tsaiger »

Ok, its become apparent that the contentcache.php file in tmp/cache is being re-written by something in the system as 0k (zero k). this is causing the system to be unable to read form the file creating a PHP error and resulting in a blank page.

If someon can tell me what and why this is occurring i will be most grateful.
tsaiger

Re: Intermittent blank pages

Post by tsaiger »

Ok, issue solved.

The PHP memory limit was too low. Editing the phph.ini file and raising the memory limits sorted it....
User avatar
Darwin Web Design
Forum Members
Forum Members
Posts: 212
Joined: Tue May 30, 2006 3:12 am

Re: Intermittent blank pages

Post by Darwin Web Design »

Thank you so much for posting your self resolved issue.  This same thing happened to me and if it wasn't for your entry I would have been totally stumped!  :-\
Locked

Return to “CMSMS Core”