Comments

WP-ADMIN giving a blank white screen — 7 Comments

  1. the reason would be to do with how web-pages work.

    the server sends its headers, followed by an empty line (two “\n”s), followed by the HTML.

    in your problem case, the config file was loaded by WP, which then went on to show its headers and then its HTML. Problem was, the config file had already rendered some line-spaces to the browser, meaning that header calls failed.

    the solution is to either do as you did and make sure there are no line-spaces at the end, or to follow good programming style (the WP team should be doing this one…) and don’t put an end “?>” in any PHP files.

  2. That is a very old config file, and of course it is one of the very few files that is never upgraded. I would have imagined there would be some way of stripping off unwanted lines by now?

    I suppose they just assume that those lines will never creep in, though there should be warnings as it is a file that is commonly edited.

  3. I moved my blog to my dedicated server yesterday. Simply a backup and restore job and now I have the same problem.

    I did find a blank line at the end of my config but removing it didn’t help.

    The strange thing is that it was working perfectly on the old server which is absolutely 100% identical to the current one. Software, updates etc. The only thing that’s different is the IP address!

  4. There must be a difference then in the server configuration? Have you tried doing a comparison of phpinfo() off each server?

  5. Oddly I got it sorted by uploading wordpress manually and overwriting what was already there. Same version too.

    The only difference was the borked install was upgraded via the automatic upgrade option from the Admin page.

  6. Very strange. Somehow one of the original installed files must have been corrupted, but that seems unlikely? Just put it down to a “we will never know the answer” problem.

Leave a Reply to Tom O'Connor databackup.ie Cancel reply

Your email address will not be published. Required fields are marked *

HTML tags allowed in your comment: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>