WordPress.org

Ready to get started?Download WordPress

Forums

Blank Site (19 posts)

  1. pstack
    Member
    Posted 7 years ago #

    My site's randomly gone blank. Each time I load any WordPress page or page on my blog, I simply get an empty page, not a 404 or anything. Any thoughts on what this is?

  2. Samuel B
    moderator
    Posted 7 years ago #

    Have you made any recent changes - added a plugin - something?
    What does "view source" show you on a blank page?

  3. pstack
    Member
    Posted 7 years ago #

    No recent changes, and a view source gives me absolutely nothing. When I take the PHP files off my server and look in a text editor, the code is still there.

  4. pstack
    Member
    Posted 7 years ago #

    I've even tried re-installing WordPress, but I keep getting the blank pages. Anyone had their hosting company turn off PHP support or something?

  5. Samuel B
    moderator
    Posted 7 years ago #

    The blank page with no error is weird. You should get an error if it wasn't connecting to db.
    Maybe .htaccess is whacked?

  6. pstack
    Member
    Posted 7 years ago #

    I've tried that too ... I'm talking to my hosting company now to see what's up with it.

  7. kenkam
    Member
    Posted 7 years ago #

    I am guessing your webserver has display_errors for php off for security reasons. Try turning them back on with php configuration settings in .htaccess files.

    Place this line in your .htaccess file

    php_admin_flag display_errors on

    Hope this helps

  8. kenkam
    Member
    Posted 7 years ago #

    That will show you where the error is originating from, by the way, but will not solve your website problems.

    When you've found the problem, it would be a good idea to take delete that line from your .htaccess file for security reasons.

  9. hbalagh
    Member
    Posted 7 years ago #

    i had a blank page on my blog about a wk ago. but when i would go to my wp-admin it said my db was out of date, i ran it the update like it asked and everything was ok again. I still have no idea why it did this as i didn't touch anything before the white page but i was happy to have it up and going again

  10. nmallory
    Member
    Posted 7 years ago #

    OK This is my issue. Yesterday everything was fine. Now all blank pages and no errors. View source shows nothing. Viewing the files online, everything seems in place.

    I can not get to the admin page because it is also blank. I made no changes yesterday that I recall.

    I have another WP on the same server which seems fine. It is a slightly older version of WP but that shouldn't make that big a difference.

    What turned out to be the problem here?

  11. Doodlebee
    Member
    Posted 7 years ago #

    Usually, when you get a "blank page" when viewing a PHP page, and you view source and see nothing, it's because the PHP has burped on an error. Problem is, you only see a blank page because you have error reporting turned off in your PHP configuration, so you can't see what the problem is.

    Contact your webhost and ask them to turn "error_reporting" ON in your PHP.ini file. Then, when the "blank page" comes up, it'll tell you exactly what the problem is (right down to the line and character) so you can go fix it.

  12. wardly
    Member
    Posted 7 years ago #

    I also am having this issue with a newly downloaded version of WP. I do have error reporting on in the php.ini file and apache is simply telling me that there is an internal server error (error 500). However if i remove the wp-config.php file i get the normal php errors that its supposed to kick out. If i add the wp-config.php file back with anything as the var values (even the correct values) the pages go completely blank. I've restarted apache and mysql server but still get blank pages.

    I'm running php version 5.1.4 and mysql version 5.0.18-standard

    any help would be appreciated!

  13. nmallory
    Member
    Posted 7 years ago #

    I turned the error reporting on. everything is working. no errors. very strange indeed.

  14. wardly
    Member
    Posted 7 years ago #

    You turned it on for apache or for php?

  15. nmallory
    Member
    Posted 7 years ago #

    php

  16. wardly
    Member
    Posted 7 years ago #

    Ok well i just triple checked mine and php has been set to display errors. But i still get nothing but blank pages.

    Any ideas?

  17. wardly
    Member
    Posted 7 years ago #

    btw this is the error in the error log

    "php_admin_flag not allowed here"

    It's refering to the above post about creating an htaccess file to enable apache errors.

  18. nmallory
    Member
    Posted 7 years ago #

    Well, it's gone all wonky again. It comes and goes. The tech support for the server insists that index.php is empty but if you look at the file in the file manager, it's not.

  19. nmallory
    Member
    Posted 7 years ago #

    OK Adding php_admin_flag display_errors on causes internal server errors.

    This is so weird because it's only happening on one install of WP out of 3 on the same server and it just started happening out of the blue.

    Tech support for A Small Orange is up to level 3 and they can't figure out what's going on either.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags