SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Member
    Join Date
    Jul 2010
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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?

  2. #2
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    What happens when you run this script then?

    http://localhost/test.php

    test.php
    PHP Code:
    <?php
     error_reporting
    (E_ALL);
     
    ini_set("display_errors"1);

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

  3. #3
    SitePoint Member
    Join Date
    Jul 2010
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  4. #4
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    How do you know the server is running then?

  5. #5
    SitePoint Member
    Join Date
    Jul 2010
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    AMPPS says it is running, and i've used different virtual hosts today.

  6. #6
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    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 ...

  7. #7
    SitePoint Member
    Join Date
    Jul 2010
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  8. #8
    SitePoint Member
    Join Date
    Jul 2010
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  9. #9
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    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...


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •