WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Upgrade.php gives white screen when upgrading to 2.7 (28 posts)

  1. Husky
    Member
    Posted 5 years ago #

    Hi,
    i'm trying to update my 2.6.5 installation to 2.7. My blog still runs fortunately, but i can't seem to upgrade. When i try to go to /wp-admin/ the script redirects to upgrade.php, which gives a blank screen and no errors. I tried disabling all my plugins by blanking the active_plugins row in wp_options but that doesn't seem to do the trick.

    -- Husky

  2. MichaelH
    Member
    Posted 5 years ago #

    1. logout or logout with http://www.yourdomain.com/wp-login.php?action=logout
    2. login with http://www.yourdomain.com/wp-login.php

    If WordPress is installed in something other than the root folder please take that into account for the above url examples

  3. Husky
    Member
    Posted 5 years ago #

    Nope, that doesn't work. I get to the admin screen and i get the 'Are you sure you want to logout?' message. But after i enter my username and password and press login i am redirected to:

    http://www.haykranen.nl/wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2F

    And i get the blank screen again...

  4. MichaelH
    Member
    Posted 5 years ago #

    Upload a new version of wp-admin/index.php

    Make sure you don't have something wierd in .htacess

  5. Diego
    Member
    Posted 5 years ago #

    Hi there, I'm having the same problems here, but with /wp-login.php?action=logout still get a blank page. I deleted all plugins from the folder but nothing change.

  6. Fearhurst
    Member
    Posted 5 years ago #

    Hi all, I had the exact same problem at first, but I re-uploaded the entire 2.7 wp-admin folder and it everything suddenly started working.

    Maybe something didn't upload correctly the first time and/or files were missing?

    Just something to try...

  7. Diego
    Member
    Posted 5 years ago #

    Thanks MichaelH, tried your last suggestion but nothing changed. Don't have any .htacess files.

  8. Diego
    Member
    Posted 5 years ago #

    Hi Fearhurst,
    uploaded twice 2.7 files (admin and includes) again, but still nothing.
    I'm using the forum as last resolution, and start asking here just when i saw Husky having the same white page..
    what's your website?

  9. soulsincere
    Member
    Posted 5 years ago #

    I'm having a similar problem as well, except my blog just whites out completely after running upgrade.php

  10. OylerActionPhotos
    Member
    Posted 5 years ago #

    having the same problem. I've tried uploading complete new install four times now and get nothing but blank screen. Have tried 3 different downloads from WordPress of 2.7 with same result. Tried deleting theme files from WP Content in case it was an incompatible theme but still same result. It looks like 2.7 is not ready for prime time. Thank goodness for backups!

  11. Husky
    Member
    Posted 5 years ago #

    Tried removing everything but wp-content/ and re-installing, deleting all cookies, removing my .htaccess. Nothing :(

    Afaik, the upgrade.php script hangs when trying to include the upgrade.php file in wp-admin/includes/upgrade.php

  12. 32bitwonder
    Member
    Posted 5 years ago #

    I'm having similar issues with an upgrade from 2.6.5 to 2.7. The site itself is still alive, but I cannot access wp-login.php. Any attempts to load anything within /wp-admin result in a blank screen. I've checked my apache logs, but nothing is written to the error.log. Thankfully most of the site is still alive, but I've found a few blank pages there as well.

    I've tried editing/removing .htaccess, purging various wp-* directories and re-copying from latest.tar.gz, re-running upgrade.php etc. No effect. I've also removed all plugins, but still nothing but a blank page with wp-login.php

  13. 32bitwonder
    Member
    Posted 5 years ago #

    I'm getting somewhere, I've modified wp-settings.php as follows:

    From:
    define('WPINC', 'wp-includes');

    To:
    define('WPINC', '/wp-includes');

    I'm now presented with the login page, and I can login, however once logged in, all I see is the header at the top of the page while the rest of the page is blank.

  14. Diego
    Member
    Posted 5 years ago #

    I'm seeing a lot of people with the with-page-problem. I have some good backup, so i'm going to restart server from zero: i will delete all files and all DB, with a new installation of 2.7. Then if it works will add the files, db, plugins, themes. I want to see who's going to win..

  15. .ben
    Member
    Posted 5 years ago #

    Yep, I got the same. Deleted wp-admin and wp-includes folders, uploaded entire 2.7 and then did the upgrade.

    It said it worked but after that I got nothing but blank pages wherever I tried to go.

    I don't have the answer I'm afraid as I just went back to the backup and my blog's up and running again but back at 2.6.3.

    I'm just going to wait it out until 2.7.1 I think... Sorry I couldn't be more help

  16. Diego
    Member
    Posted 5 years ago #

    Well 1st phase done.
    Installed the 2.7 and the new DB. Now will try importing the DB.

  17. tomskus
    Member
    Posted 5 years ago #

    I had the same problem, and out of sheer guess work and the memory of two plugins that gave me trouble when I installed them, I deleted OZH admin drop down menus and ferdinand-wordbook. Reloaded /wp-admin and voila!

    YMMV obviously, but a bit of lateral on what shaped and effected the admin interface previously may give you an 'inkling.

  18. Diego
    Member
    Posted 5 years ago #

    No way, cannot import manually the Db. I'm on my way back to 2.6.7 or was the last one.

  19. Diego
    Member
    Posted 5 years ago #

    Last solution: using an xml export file from a backup location site.

  20. skycrew
    Member
    Posted 5 years ago #

    I got the same problem before..

    so I found the solution,

    before you do an upgrade, please DEACTIVATE ALL plugins first..

  21. Diego
    Member
    Posted 5 years ago #

    For every upgrade of worpress was using wp-upgrade or similar plugin that in 5 click, he backup all the data and DB, deactivate all plugins before upgrade, download and install the plugin.
    This time, for a 2.7 installation code noise didnt work.

  22. adambundy
    Member
    Posted 5 years ago #

    Im having the exact same issues. I have posted another thread with details. http://wordpress.org/support/topic/224433
    I did not deactivate any plugins before I upgraded, but never have and always had smooth sailing. Anyone having any luck cracking this?
    -Adam

  23. Diego
    Member
    Posted 5 years ago #

    In my case wasn't a plugin to noise, but the design theme. Probably it was not compatible and produced the white-page-problem. Unfortunately deleted all folders, now have just local backup. Need to spend some more work in freetime to restart the website (and have to find a new theme!!)

  24. Husky
    Member
    Posted 5 years ago #

    I fixed it. Thanks to the suggestion of dpinna13 i started looking at my theme in a local installation and saw a fatal PHP error because of a redeclaration of a function called show_message(). I used this function in my theme, but apparently it has been created as well in the new 2.7 installation so it gave a conflict.

    The solution is pretty simple: rename all your theme functions to something that doesn't exists in WordPress, such as puttinng your themename before the function (e.g. mytheme_show_message() instead of show_message()) and replace all calls to the function in your theme.

    2.7 works like a charm now!

  25. adambundy
    Member
    Posted 5 years ago #

    Couldnt solve this problem. I could on occasion get the login form, but attempts to submit it were unsuccessful. I have reverted back to 2.6 for now and hope that an update will come soon with fixes for these issues.

  26. Diego
    Member
    Posted 5 years ago #

    You welcome. Now have some problems with my Db, 16mb.. I've got 9mb of statpress records, but even deleting some of them cannot import the old DB...
    Really need to stop for a while

  27. riserman
    Member
    Posted 5 years ago #

    adambundy, I'm in the same position. I've re-uploaded the 2.7.1 files many times after deleting my 2.6.5 installation, and still get the white screen of death every time I try to go to root/wp-admin.

    It looks like it tries to load wp-admin/upgrade.php, but the page fails to load. I tried it in firefox, and also IE, which doesn't even give the white screen, just a page load error.

    I've tried all the suggestions made in this thread, and scanning my site's error log has yielded nothing useful.

    For now, I'm going back to 2.6.5, unless anyone has any other suggestions.

  28. riserman
    Member
    Posted 5 years ago #

    Never mind that. Somehow my tables have gotten screwed up (by the upgrade script?), which has only come to light now after I deleted my DB backup. So now I can't log in to my site at all on the back end.

    The front end is still visible, but this doesn't help much.

    Does anyone have any idea how I can fix my DB?

Topic Closed

This topic has been closed to new replies.

About this Topic