• Resolved panflat2694

    (@panflat2694)


    Hi there,

    I’ve migrated by blog to my localhost using Updraft Plus. It worked flawlessly, but now I can’t access my WP-admin page.

    After entering my log in credentials I get a 404 error message (page not found).

    I’m using ApacheFriends XAMPP Version 8.2.12 on Windows 10.

    How can I fix this?

    Please note, my live site is currently offline, since I will be moving to a new webhost.

    Thank you for your help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support pbevanudp

    (@pbevanudp)

    Hello,

    Rename the wp-content / plugins folder and the folder for the theme you are using to revert to the default theme. You could also check your .htaccess file in the root of your site and try restoring the WordPress default version in case there is an issue with it.

    Thread Starter panflat2694

    (@panflat2694)

    Thank you for your quick reply.

    I’ve followed your instructions:

    “Rename the?wp-content / plugins?folder and the folder for the theme you are using to revert to the default theme.”

    But then I got a password error (I didn’t change my password).

    I went to www.ads-software.com and followed the instructions for resetting passwords through phpMyAdmin.

    Reset Your Password

    But then this error message appeared:

    Fatal error: Uncaught Error: Call to undefined function get_network() in C:\xampp\htdocs\soundsandcolors\wp-admin\admin-header.php:43 Stack trace: #0 C:\xampp\htdocs\soundsandcolors\wp-admin\index.php(137): require_once() #1 {main} thrown in?C:\xampp\htdocs\soundsandcolors\wp-admin\admin-header.php?on line?43

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Where do I go from here …

    Thread Starter panflat2694

    (@panflat2694)

    In the meantime I’ve changed my theme (Divi) back to default (twentytwentyfour) following the instructions of this post

    https://help.one.com/hc/en-us/articles/115005585909-Change-your-WordPress-theme-from-the-database#step-2

    But after logging in I keep on getting this error message under https://localhost/soundsandcolors/wp-admin/

    Fatal error: Uncaught Error: Call to undefined function get_network() in C:\xampp\htdocs\soundsandcolors\wp-admin\admin-header.php:43 Stack trace: #0 C:\xampp\htdocs\soundsandcolors\wp-admin\index.php(137): require_once() #1 {main} thrown in C:\xampp\htdocs\soundsandcolors\wp-admin\admin-header.php on line 43

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Plugin Support pbevanudp

    (@pbevanudp)

    Hello,

    Are you restoring the core files as part of a multisite restoration?

    Thread Starter panflat2694

    (@panflat2694)

    Hello,

    no it’s a simple blog site.

    Plugin Support pbevanudp

    (@pbevanudp)

    Hello.

    I would suggest restoring it on a new local WordPress instance, there could be some missing or corrupt core files.

    Thread Starter panflat2694

    (@panflat2694)

    Hello,

    I did it. First installed WordPress from www.ads-software.com to get a basic WP site.

    Then used the restore function from Updraft Plus (dowloading the six back up files from my Google Drive to my desktop and uploading all of them to my localhost site.

    From the outside everything looks nice and works, but still I can’t enter my new “house” (WP dashboard). And that’s frustrating.

    Thread Starter panflat2694

    (@panflat2694)

    I’ve fixed it. In phpmyadmin I deleted the password value in the ‘user_pass’ field and replaced it basically with the same password.

    BUT under the ‘Function’ column, I selected ‘MD5’ from the drop-down menu and then it worked.

    I’m not a developper, but maybe it was just that the MD5 setting was not correct, IDK.

    Now, I can enjoy my blog again from the outside AND inside.

    Thank you for your assistance on this matter.

    CORRECTION:

    It was the SiteGround security plugin causing the issue. I forgot that I deactivated the security plugins while trying to fix the problem. After reactivating SGS the issue reappeared.

    • This reply was modified 7 months, 3 weeks ago by panflat2694.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Getting 404 error message for wp-admin.php on localhost’ is closed to new replies.