Support » Fixing WordPress » Back-end works fine but front-end is white screen

  • Resolved WordPress Fan


    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!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Check your web server log, it should show you the source of the error.

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

    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.

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

    How to setup a PHP Error log for WordPress – Revisited

    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.

    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.

    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!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Back-end works fine but front-end is white screen’ is closed to new replies.