WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Back-end works fine but front-end is white screen (8 posts)

  1. WordPress Fan
    Member
    Posted 1 year ago #

    Hi there,

    I am able to login into the back-end of my site and everything looks fine. When I try to view my site however, I get a white screen. I am using WordPress version 3.5.1 and a child theme for Twenty Eleven (was working fine on my local server before this plugin was installed).

    My plugins went bizurk after using WP-Better-Security Plugin, which I understand can make changes to core files. I had done full back-ups so I reverted to those by importing my backup .sql file and /wp-content but I still got a white screen.

    My step by step troubleshooting process to try and single out the problem has been:
    1. Disabled plugins
    2. Switched to the default theme
    3. Cleared my cache
    4. Script into wp-config.php to display all errors - nothing showed up
    4. Re-installed 3.5.1 WordPress files
    5. Created a new database (in case the old one was corrupt) and connected to it successfully.
    6. Checked to see if there was an empty config file placed into the root directory (I read that security plugins can do this)
    7. Thinking this was a server issue I tried to upload a .html file with content and was able to view it fine when I entered the URL into the browser
    7. Rang my host, they could not resolve on the phone but are looking into it.

    I currently have a brand now installation of WordPress and a new database, they are connected, I login into the back-end, activate Twenty Eleven and still not output on the front-end. Therefore I am confident that it has nothing to do with my actually plugins/theme.

    Any ideas? I'm all out.

    Thanks in advance for any advise!

  2. David Choi
    Member
    Posted 1 year ago #

    Check your web server log, it should show you the source of the error.

  3. WordPress Fan
    Member
    Posted 1 year ago #

    Good idea! Thank you for your suggestion. I logged into my hosting cpanel and went into the Error Log, but it is empty. Hmmm

  4. WordPress Fan
    Member
    Posted 1 year ago #

    I just looked at the files that I backed up before re-installing the new WordPress version (I deleted mine out so I could start fresh) and I found an 'error_log' file. I says:

    PHP Warning: chmod() [function.chmod]: No such file or directory in /home/****/public_html/prepare_removal.php on line 110

    (I added the asterix, but my user name was there). Does this mean anything to you? Thanks.

  5. David Choi
    Member
    Posted 1 year ago #

    Here is a simple instruction to create log via wp-config.php file

    http://frumph.net/2010/04/15/how-to-setup-a-php-error-log-for-wordpress/

  6. WordPress Fan
    Member
    Posted 1 year ago #

    I did as suggested and uploaded the new config file. No error log appeared but my site started working...strange right? I am wondering if my host has changed something...

    Well my site seems to be working fine now and I am very happy! Thank you for your kind support.

  7. WordPress Fan
    Member
    Posted 1 year ago #

    Ah yes, my hosting company just let me know there were two index files within the root and their hierarchy read the empty index.htm before the index.php. They removed the .htm and of course it is now good.

    I am not even sure how it got there, but I've learnt what to look for and how to troubleshoot now, so all good.

  8. David Choi
    Member
    Posted 1 year ago #

    Glad to know it's solved. It's possible that your hosting company have updated some stuff also created those files, which are usually automated.

    Have a nice day!

Topic Closed

This topic has been closed to new replies.

About this Topic