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?
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...
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.
die(’stop’);
from app/webroot/index.php and downward in your applicationI spent five hours trying to solve this very problem. Nothing associated with one of my controllers would display. In the end, there were two blank lines at the bottom of my controller that caused nothing to be rendered for some reason. I removed them and everything worked again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With