Cannot Access WP-Admin (21 posts)

  1. acatris
    Posted 3 years ago #

    Hi there,

    I have been searching the forums for a fix for this and while I have found people with a similar problem to this, I haven't found anyone so far who have had this current issue.

    I upgraded my wordpress.org site (www.anastasiacatris.com) to the most recent WP upgrade the other day and almost immediately got a message saying:

    "Database Update Required

    WordPress has been updated! Before we send you on your way, we have to update your database to the newest version.

    The update process may take a little while, so please be patient."

    I clicked to upgrade the database but was sent to a page with the WP logo where nothing happened. This same thing happened on several attempts even when waiting for several hours at a time (as it told me to be patient after all).

    I searched for similar problems and found Esmi's responses to similar queries:

    - switching to the Twenty Twelve theme by renaming your current theme's folder inside wp-content/themes and adding "-old" to the end of the folder name using FTP or whatever file management application your host provides.

    - resetting the plugins folder by FTP or phpMyAdmin.

    - re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    - running the upgrade manually via wp-admin/upgrade.php

    I followed this advice and now, not only am I not able to access the back end of my site, but I my site is completely broken and results turn in a blank page!

    As you can imagine, I am quite worried about this as I use my site for work purposes (it has an online store and promotes my work to several businesses who I am currently being reviewed by).

    Any help you could offer in this situation would be most beneficial, I am sure.

    Thank you so much in advance.

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    What method did you use to reset your plugins?

  3. acatris
    Posted 3 years ago #

    Hi Esmi,

    Lovely to hear from you so quickly, thank you :)

    I used the FTP method described here But, obviously, as I was unable to access my wp-admin to fulfill Step 3, maybe this would have been an issue?

  4. I followed this advice and now, not only am I not able to access the back end of my site, but I my site is completely broken and results turn in a blank page!

    When you get a blank page like that it means your PHP interpreter is tossing errors. Do you have access to your web server's error log file? That may tell you what's causing that blank page.

    Also which steps have you tried? I mean did you rename the plugins and/or themes directories? Knowing that may help figure out where you are and how to get you back to running again.

  5. acatris
    Posted 3 years ago #

    Hi Jan,

    I tried all of the steps described in my post above and none of them seemed to work resulting in this error. I'll check and see if I have access to my server's error log file now.

  6. acatris
    Posted 3 years ago #

    Okay, just changed my theme back to my personalized Athena theme and the site is up and running again at least (phew!) but I am still getting the Database message when I try to log in to my wp-admin. This takes me to the WordPress logo and nothing happens after that.

  7. That's an improvement! Now to work on your database upgrade issue.

    When you visit http://www.anastasiacatris.com/wp-admin/ you get the upgrade notice, you click the button, and then just get the logo.

    Can you look into your web server's error log file to see if something is breaking during those steps?

  8. acatris
    Posted 3 years ago #

    I'm afraid I'm not amazingly web-literate, but I found that this repeated in my server's error log every time I tried to download the current database upgrade.

    [Wed Jun 26 12:31:19 2013] [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.

    Don't know if that helps?

  9. I'm pretty sure that's not it but try this: in your root directory should be a .htaccess file. Rename that file into .htaccess-old (don't delete it) and visit http://www.anastasiacatris.com/wp-admin/ one more time.

    Do the upgrade. If it hangs on the logo again then rename the .htaccess-old back to .htaccess.

    If it works the rename that file anyways. ;) I don't think it will fix it but eliminating items from the list of suspects like that may help.

  10. acatris
    Posted 3 years ago #

    For some reason my FTP has decided it can't connect to the server atm :/ Will give this a go as soon as I have got access again. Thank you x

  11. If that doesn't work there's other things that can be tried to create a log of any errors.


    What you want to do is find out why the upgrade is failing so that it can be fixed properly.

  12. acatris
    Posted 3 years ago #

    Hi Jan,

    Finally managed to get back into my FTP. Can't seem to find the .htaccess file though

  13. acatris
    Posted 3 years ago #

    Okay, finally found it. Changed it to .htaccess-old and it still hangs on the upgrade screen.

    Have also disabled all plugins and this has done nothing except, well, make my site a bit ugly at the moment (front page uses a lot of plugins) :/ Can't wait to get back into it so I can fix this mess.

  14. acatris
    Posted 3 years ago #

    Oh... and now all of my other pages aren't working. They all turn up a 404 file not found...

  15. esmi
    Forum Moderator
    Posted 3 years ago #

    Do you have access to your WP dashboard yet?

  16. acatris
    Posted 3 years ago #

    No. Still can't get past the database update page.

  17. esmi
    Forum Moderator
    Posted 3 years ago #

    Did you rename your current theme's folder in wp-content/themes?

  18. acatris
    Posted 3 years ago #

    Yes, as I stated in my original post. This results in a completely blank page when I try to access my website.

  19. Something's causing the upgrade to fail... Can you try these steps?

    1 - Make a backup copy of your wp-config.php file for safe keeping.

    2- At the end of the file locate this line

    define('WP_DEBUG', false);

    And make it look like this

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);

    Then visit your upgrade URL http://www.anastasiacatris.com/wp-admin/upgrade.php

    That (I'm really hoping) may create a debug.log file in your wp-content directory.

    If it does then rename that file to something else (save it), restore your original wp-config.php file (no need to leave that DEBUG on), and if there is no sensitive information there please post that file contents here using the code button.

  20. esmi
    Forum Moderator
    Posted 3 years ago #

    Checking your site's error logs for messages could also be useful. Your hosts should be able to help you in accessing your site's error logs.

  21. Sunder Deep Dasna
    Posted 3 years ago #

    Upload a php file (test.php) which contain <?php phpinfo() ?> code only in the root directory and check 'http://www.anastasiacatris.com/test.php'.

Topic Closed

This topic has been closed to new replies.

About this Topic