• Resolved DonHarris

    (@donharris)


    I have not logged-in to my site donharris.me as an administrator for several weeks. Now I can’t and when asked for my username or email I receive the following error message: ERROR: Invalid username or e-mail.

    Please help.

    Thanks!

Viewing 5 replies - 16 through 20 (of 20 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Please make sure you have a copy of that functions.php file before you edit it.

    My functions.php file does not have a colon at the end. Should I add it?

    If you mean it does not have a closing ?> then that you can leave off.

    The line you added should end with a semicolon.

    Should this text string be added on the same line or the next line?

    At the top of your theme’s functions.php file should be a <?php add the new line right below that so that it looks like so

    <?php
    wp_set_password('your-new-password-that-you-choose-goes-here',1);

    The rest of the existing file will be there.

    Do I enter my new password in this text string? I don’t know what I’m supposed to put in my own new password.

    See above hint. Yes, you replace password with whatever you like. ??

    If that works and you can get into your WordPress dashboard then restore the copy of the old functions.php file.

    Thread Starter DonHarris

    (@donharris)

    Thanks Jan,

    I am going to try this right now.

    I’ll let you know the result.

    Don

    Thread Starter DonHarris

    (@donharris)

    Update. It almost works; it no longer gives me the shakes.

    But, after I enter my user name and password, a redirect message appears and the url bar reads <https://donharris.me/wp-login.php?redirect_to=http%3A%2F%2Fdonharris.me%2Fwp-admin%2F&reauth=1&gt;

    Thread Starter DonHarris

    (@donharris)

    I’m in! Thank you very much Jan, cubecolour, and funkywebsites!

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    That should be OK provided you can actually log in…

    Try clearing your browser’s cookies and visit https://donharris.me/wp-admin/

    That should redirect you to that login URL and then you should be able to get in after putting in your userid/password…

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘ERROR: Invalid username or e-mail.’ is closed to new replies.