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
Intermittent blank pages
-
tsaiger
Intermittent blank pages
Last edited by tsaiger on Fri Jul 14, 2006 3:09 pm, edited 1 time in total.
-
tsaiger
Re: Intermittent blank pages
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.
If someon can tell me what and why this is occurring i will be most grateful.
-
tsaiger
Re: Intermittent blank pages
Ok, issue solved.
The PHP memory limit was too low. Editing the phph.ini file and raising the memory limits sorted it....
The PHP memory limit was too low. Editing the phph.ini file and raising the memory limits sorted it....
- Darwin Web Design
- Forum Members

- Posts: 212
- Joined: Tue May 30, 2006 3:12 am
Re: Intermittent blank pages
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! 
