Support » Plugin: Login With Ajax » “An error has occured. Please try again.” on password reset attempt.

  • “An error has occured. Please try again.”

    Getting the above error message when attempting to use the password reset form. This happens in the sidebar widget as well as the shortcode.

    Getting an HTTP 303 response from the server as follows:

    HTTP/1.1 303 See Other
    Date: Thu, 21 Sep 2017 19:54:08 GMT
    Server: Apache/2.4.18 (Ubuntu)
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Cache-Control: no-cache, must-revalidate, max-age=0
    X-Frame-Options: SAMEORIGIN
    Set-Cookie: wordpress_test_cookie=WP+Cookie+check; path=/
    Set-Cookie: wordpress_test_cookie=WP+Cookie+check; path=/wp/
    Location: http://MYSITEURL/?login=failed&wp-error=%3Cstrong%3EERROR%3C%2Fstrong%3E%3A+The+username+field+is+empty.
    Content-Length: 0
    Keep-Alive: timeout=5, max=100
    Connection: Keep-Alive
    Content-Type: text/html; charset=UTF-8

    ** Possibly helpful info: This site uses the Roots.io framework and uses the /wp/ and /app/ folder structure. So the usual wp directories have been reconfigured.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • That could be the issue. How did you do the reconfguring?

    Does the password reset work correctly if you test with the default WordPress theme?

    Thread Starter jasonpomerleau

    (@jasonpomerleau)

    Yes, password reset works fine from the default WP screens/theme.

    Folder reconfiguring was done via this set of items in wp-config.php

    define(‘WP_SITEURL’, ‘http://’ . $_SERVER[‘SERVER_NAME’] . ‘/wp’);
    define(‘WP_HOME’, ‘http://’ . $_SERVER[‘SERVER_NAME’]);
    define(‘WP_CONTENT_DIR’, $_SERVER[‘DOCUMENT_ROOT’] . ‘/app’);
    define(‘WP_CONTENT_URL’, ‘http://’ . $_SERVER[‘SERVER_NAME’] . ‘/app’);

    I’m open to hard-coding the correct URL to test – just need a rough pointer of where to modify it in the plugin code.

    Thread Starter jasonpomerleau

    (@jasonpomerleau)

    Also possibly helpful: the login form works fine. It’s just the password reset.

    Tricky. My guess is that one of those redirects is causing the problem, probably the first or second one. If you comment one / both of those out, does that fix the problem?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘“An error has occured. Please try again.” on password reset attempt.’ is closed to new replies.