tags:

views:

153

answers:

2

I was just merrily working on a CakePHP site and suddenly... white screen of death. No debug information, nothing whatsoever generated by visiting the site.

Previously when this has happened there's been an error in core.php, or something else in the config folder. But the only hazardous thing I had open at the time was core.php, and there's definitely nothing wrong with it now.

A reboot of the computer did nothing to resolve the issue.

Anyone got any ideas why else a Cake site would suddenly white-screen like this?

+2  A: 

Never mind, worked it out: I'd somehow managed to drag the cake folder completely out of the application and onto my desktop. That would do it, eh...

thesunneversets
+1 for admitting the problem for future visitors instead of deleting/abandoning the question.
BenV
agreed, +1 for admitting the problem for future visitors!
MaasSql
A: 

I had white screen when debug was 0. The handling was to clean cache folders and set debug to 1. When debug is 0 Cakephp suppresses any errors and warnings and displays nothing when an application error occurs.

  • Check that debug > 0
  • Clear app/tmp/cache/persistent/*
  • Check local vhost error log
  • Check global httpd-error log
  • Restart apache, (stop, start), restart cache services (memcached ect.)
  • Enter the world of die(’stop’); from app/webroot/index.php and downward in your application
bancer