White Screen of Death - No errors on screen or in logs

I’ve got a bit of a crisis going on. When i switched my machine on this morning, i get a white screen with no errors on screen or in the logs. I have added error reporting in my common.php file. If this was a fatal error i’d of thought it would show up.

I am working with GIT, and have rolled back 3 or 4 commits, but this does not seem to help.

I have been working on this project for 6 months, so i am actually pretty stumped as to why this has happened.

I am using AMPPS stack locally.

Anyone else had anything like this before?

What happens when you run this script then?

http://localhost/test.php

test.php


<?php
 error_reporting(E_ALL);
 ini_set("display_errors", 1);

echo 'Hello ; // yes, this line has an error
?>

Thanks for your reply. I’ve already got E_ALL and display errors, but actually even echoing text isn’t working, but i’ve tried phpinfo(); in the root of the directory and that is fine. It says it should be displaying and logging errors.

How do you know the server is running then?

AMPPS says it is running, and i’ve used different virtual hosts today.

Sounds as if the server is running but PHP is not configured or there is a httpd directive out of kilter, or the host is not being found. These are the usual suspects anyway …

Thanks for your reply. I’ve been checking my Smarty template directories, permissions etc, and have made a new GIT branch. Still no further, still no errors.

Ok, finally got to the bottom of this. I was trying to connect to a remote mysql db, which had been deleted, but i didn’t have sufficient error handling on the query, so it just white screened. @Cups - Thanks for your help.

Thx for replying with the cause, I’m sorry but I don’t think I managed to suggest anything helpful, but heck, I shared your pain for a bit…