Forums

[resolved] Page not found after upgrading to WordPress 3.4 (30 posts)

  1. totisara
    Member
    Posted 8 months ago #

    My client took the liberty of trying to upgrade her blog to WordPress 3.4 - however when she did this... she told me that she started getting a "Page not found" error whenever she tried to log into her account. She/I can no longer see her dashboard - whenever I log in to her WordPress it automatically redirects me to:

    http://melissassimplysweet.com/wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2F

    ... rather than taking me to her dashboard. I've read that it could be a plugin conflict issue and that I should try to disable all WP plugins. Since I can't get to the WP dashboard anymore, I tried to disable them through her MySQL database, however I do not know what I'm doing with MySQL and whenever I tried running the script:

    UPDATE wp_options SET option_value = '' WHERE option_name = 'active_plugins';

    ... to disable all plugins, it notifies me "#1146 - Table 'melissassimply.wp_options' doesn't exist"

    Not sure what is causing this issue but I'm really at a loss here as to what to do. I'd like to just get everything back to the way it was and downgrade to the previous version of WordPress but I don't want to lose her current WP pages and posts. Can anyone please help?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    My client took the liberty of trying to upgrade her blog to WordPress 3.4

    What version of WordPress was she running previously? Do you have access to a recent pre-upgrade database backup[?

  3. totisara
    Member
    Posted 8 months ago #

    Hi, Looks like it was version 3.3.1 before she upgraded. And no, I don't have access to a pre-upgrade backup. :(

  4. govpatel
    Member
    Posted 8 months ago #

    First thing you need to do is backup database using phpmyadmin export feature as looks like the site is working fine.

    Now try and login using this
    http://melissassimplysweet.com/wp-login.php
    if you can login check what version you have on dashboard.

  5. totisara
    Member
    Posted 8 months ago #

    I backed up her database earlier, and then tried to login afterwards and it still just forwards me to that "page not found" page. I can't see the dashboard at all, both before and after I backed up her database.

  6. kmessinger
    Volunteer Moderator
    Posted 8 months ago #

    Since I can't get to the WP dashboard anymore, I tried to disable them through her MySQL database

    All you need to do to disable them is by ftp or by using the file manager provided by the host, rename the plugins folder, pluginsold.

  7. totisara
    Member
    Posted 8 months ago #

    I renamed the plugins folder to be "pluginsold" on the FTP, but when I login it still forwards me to that "page not found" page. Perhaps its not a plugins issue? I'm really at a loss as to what is causing this weird error since all she tried to do was upgrade WordPress.

  8. kmessinger
    Volunteer Moderator
    Posted 8 months ago #

    You can also check the theme by renaming it. That will force wp to open with the default theme.

    If something went wrong with the upgrade, and seems likely, you just need to do a manual upgrade, http://codex.wordpress.org/Upgrading_WordPress_Extended

  9. totisara
    Member
    Posted 8 months ago #

    Can I just rename the folder of the theme on her FTP? Ive read that you should switch to the default theme before renaming any theme folder otherwise you can get a "white screen of death". Since I can't get into her dashboard I can't switch the theme... and I'm afraid! :(

  10. govpatel
    Member
    Posted 8 months ago #

    When you rename your theme using ftp wordpress will open default theme unless you have some other problem in your wordpress.

  11. totisara
    Member
    Posted 8 months ago #

    I renamed the folder and got "the white screen of death". What should my next step be? Shall I try the manual upgrade or will that be hopeless now that I'm no longer seeing the website and only a white screen?

  12. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    Re-upload a fresh, unpacked, copy of the Twenty Eleven folder to wp-content/themes using FTP or whatever file management application your host provides.
    http://wordpress.org/extend/themes/twentyeleven

  13. totisara
    Member
    Posted 8 months ago #

    Thank you for your fast responses. It's much appreciated.

    So the first time I changed my theme folder name, I got the white screen of death. When I changed the folder name back to the original name, the website came back. Throughout all of that, I could not log in to her dashboard.

    After I just re-uploaded/overrided a fresh version of the twenty eleven theme on her FTP server, it made it so that whenever I change the custom theme folder name, the white screen now stays and won't go away - regardless of its the correct name or not. So I can no longer see her website, as well as still cannot log in. Does this mean anything?

  14. totisara
    Member
    Posted 8 months ago #

    Scratch that, apparently now the website IS showing. It would not load anything but the white screen before, but I still can't log in. Should I try the manual upgrade suggestion?

  15. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    Your site still isn't running Twenty eleven. Ensure that you have renamed /wp-content/themes/Minimal to /wp-content/themes/Minimal-old and that you have an intact and unedited wp-content/themes/twentyeleven theme folder.

  16. totisara
    Member
    Posted 8 months ago #

    Whenever I rename the current theme folder to be something else, I only get the white screen. I've already overridden the twentyeleven theme folder on her FTP, but I never see her website in the twentyeleven theme when I do so. Just always a white screen.

  17. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    What exactly did you do when you re-uploaded the Twenty Eleven theme?

  18. totisara
    Member
    Posted 8 months ago #

    I downloaded the file from the link you provided, took the twentyeleven folder, dragged it into the "themes" folder on her FTP, and when the notification came up to replace/override the current "twentyeleven" theme folder that had already existed there, I told it to override.

    Then, when I went to view the website again, it just had a white screen. :\

  19. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    Try deleting the whole themes/twentyeleven folder and then uploading a fresh copy. I'd also suggest contacting your hosts to see if you have access to your site's error logs. They could be invaluable in determining where the problem actually is.

  20. totisara
    Member
    Posted 8 months ago #

    Thanks everyone for taking the time to help me. I tried deleting the twentyeleven theme folder and uploading a fresh one, but the website still remained white. I contacted GoDaddy and they figured out the solution for me, even though it was not an issue on the GoDaddy side. Just thought I'd share in case anyone in the future has this issue:

    Since I had been able to view the website just fine but could not log in to her WP dashboard, they figured it was an issue with the database when she tried to upgrade to the latest WP version (within WordPress, not from GoDaddy). Turns out her install of WP was not seamless, and somehow the database number differed from the actual database number it was upgraded to - inside of the wp-includes folder, version.php was still showing the old database number. Since the install was successful in updating the new database number, but the one that was inside of the version.php file (that had to be changed manually, in this instance) was the old number, it crashed whenever I tried to log in.

  21. esmi
    Theme Diva & Forum Moderator
    Posted 8 months ago #

    Thank you for posting the solution. This may help someone else in the future. :-)

  22. gfxdesigner
    Member
    Posted 8 months ago #

    Thanks for providing that info! That was my issue.

  23. mrg2017
    Member
    Posted 8 months ago #

    How did you find the actual database number to change in version.php?

  24. ljutic213
    Member
    Posted 8 months ago #

    I too am experiencing the exact same thing on 2 sites and actually created a previous thread to help trouble shoot the issue.

    I have about 4 other sites but am afraid to upgrade any of those to 3.4.2.

    2 quick questions...

    1) I'm pretty sure the database fix is what I need as everything you did I did with the exact same outcome. So, knowing this is the issue, how do you actually fix it? How do you change the database number?

    2) I upgraded both of my sites on an iPad instad of a computer. I've done this countless times without ever having any issues. Could this have been the cause somehow?

    Thanks.

  25. govpatel
    Member
    Posted 8 months ago #

    How did you find the actual database number to change in version.php?

    You should able find that wp_options table look for db_version

  26. jcimb
    Member
    Posted 8 months ago #

    Just had the same 404 error problem while upgrading to 3.4.2.
    I could see my website but couldn't get to the dashboard.
    Any attempts resulted in 404 error with url:
    http://mysite.com/wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2F

    After reading many posts, I tried renaming the theme directory name - this resulted in white screen, so I changed it back.
    Looked at contents of the htaccess file - looked fine, except permission was 604 instead of 644. Changed it, but didn't help.

    This is what worked:
    Downloaded 3.4.2. Deleted all files in wp-admin top level only - I didn't delete any files in subfolders (such as the css folder).
    Copied (FTP'd) wp-admin files from 3.4.2 download to wp-admin folder on host.
    Tried to go to the Dashboard and I got the message that the database needed updating, so I clicked to proceed. Update went fine. Was then able to access dashboard and everything is fine now.
    Hope this helps someone.

  27. lylede
    Member
    Posted 7 months ago #

    I'm having a similar problem. I tried updating my site, http://www.soma1894.com/wordpress (through the Dashboard link) to 3.4.2 and now can't sign on to my login/admin page, I get this error message:
    No Results Found
    The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.

    I see a lot of info in this thread. Can anyone suggest the best course of action? Thanks.

  28. kmessinger
    Volunteer Moderator
    Posted 7 months ago #

    @lylede
    Normally you should start a new post. Strap hanging to a post marked resolved won't get you much help.

    Try to log in here,

    http://soma1894.com/wordpress/wp-login.php

  29. lylede
    Member
    Posted 7 months ago #

    My apologies, I'm a little new to wordpress support and didn't realize strap hanging to a post marked resolved was improper etiquette.

    And I tried the link you provided but got the same error message.

  30. kmessinger
    Volunteer Moderator
    Posted 7 months ago #

    Open a fresh copy of 3.4.2. Using ftp upload the wp-admin and wp-includes folders to the server.

Reply

You must log in to post.

About this Topic