• Resolved 314bradford

    (@314bradford)


    I can’t login to a site on my localhost, running WP 4.5.2, on XAMPP and Windows 7.

    In IE or Chrome the login screen pops up, with fields already filled in (admin and password). If I re-type the password, I get the original log-in screen back. If I take the default, I get the empty password error message. (This is a documented bug, which I’ve read about).

    On Firefox, behavior is similar, except I just get the empty log-in screen everytime.

    I’ve tried clearing the browser cache (with browser functions and CCleaner). Tried running the emergency.php script to reset the password in case I forgot, not successful.

    The first time tried FireFox, I could log in (which at least verified my password). After that, same problem with FireFox.

    I’m not even sure where to start tracking this down. The local site has some valuable development work done on it, so I would like to back in.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there,

    I’ve run into similar issues on local installs as well. A quick workaround is to change the password manually, from the database. Hope it solves your problem.

    Thread Starter 314bradford

    (@314bradford)

    Thanks very much, Suyogya Shukla. That is a good tool to have in my toolbox.

    After much probing around, I found the suggestion to add the following to the active theme functions.php file:

    add_action(“login_form”, “kill_wp_attempt_focus”);
    function kill_wp_attempt_focus() {
    global $error;
    $error = TRUE;
    }

    The reference is here: https://www.ads-software.com/support/topic/error-password-field-empty-but-it-is-not?replies=10

    Since this code was intended to fix a bug with Chrome, and I had a problem with IE and FireFox as well, I thought I had a different problem. However, this does fix my problem for Chrome. The site is still broken for IE and FireFox.

    This is what I am getting
    tried to update
    not enough memory
    how can I reload the files

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.

    More information about this error may be available in the server error log.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can't login to wp-admin’ is closed to new replies.