tomdringer — 2013-01-19T08:27:09-05:00 — #1
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?
cups — 2013-01-19T08:56:30-05:00 — #2
What happens when you run this script then?
echo 'Hello ; // yes, this line has an error
tomdringer — 2013-01-19T09:17:00-05:00 — #3
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.
cups — 2013-01-19T09:33:50-05:00 — #4
How do you know the server is running then?
tomdringer — 2013-01-19T09:58:05-05:00 — #5
AMPPS says it is running, and i've used different virtual hosts today.
cups — 2013-01-19T13:08:04-05:00 — #6
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 ...
tomdringer — 2013-01-20T13:17:53-05:00 — #7
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.
tomdringer — 2013-01-20T15:51:12-05:00 — #8
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.
cups — 2013-01-21T12:33:15-05:00 — #9
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...