• Resolved dagmarprime

    (@dagmarprime)


    I am running wp on localhost.

    I have, until an hour ago, had no issue with https://localhost/wordpress/wp-login.php

    I tried to enable multi-site, backing up wp-config.php and .htaccess.

    I got a 500 error when trying to log in to https://localhost/wordpress/wp-login.php.

    I have restored the backed up versions of wp-config and htaccess, and still got a 500 error. I have restarted apache2, and even restarted my laptop.

    I still get the 500 error.

    How can I regain access to wp on localhost?

    • This topic was modified 5 years, 6 months ago by James Huff. Reason: moved to Localhost Installs forum
Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Please check the error logs on your server for a more specific error message, which may give a clue to why this is happening on your website/server. If you are using cPanel, the following tutorial has more information about the error log in cPanel: How to view cPanel Error logs . If you need help locating them, ask your hosting provider to help you with that. If you cannot find error logs or if you don’t find any helpful info in the error logs, try Enabling debugging

    Meanwhile try:
    If you have access to your admin panel, try deactivating all plugins. If you don’t have access to your admin panel, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the default theme for your version of WordPress to rule-out a theme-specific issue. If you don’t have access to your admin panel, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue.

    Thread Starter dagmarprime

    (@dagmarprime)

    Thanks.

    Moderator t-p

    (@t-p)

    You are welcome:)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Localhost 500 error – can’t get to wp-admin’ is closed to new replies.