WordPress.org

Ready to get started?Download WordPress

Forums

ERROR: Invalid username. Lost your password? (17 posts)

  1. chrisw12
    Member
    Posted 2 years ago #

    hey all, I usually find a solution scouring the posts already here but haven't been able to fix this. So sorry if it seems an issue well over posted but the many I saw the solutions haven't worked.

    I try to login and it gives me this message:

    ERROR: Invalid username. Lost your password?

    OK, what i've done to try fix.

    I have renamed the username and I have reset the password through phpmyadmin using the MD5 security from the drop down.

    No Fix

    I have renamed my current theme for it to default to the standard as I recently changed my theme but the blog works fine with it and you can browse it, just cant log in.

    No fix

    I have in addition renamed the plugins folder and put a dummy empty folder called plugins in its place in case a plugin was causing prob.

    No fix

    I cleared my browsers cache (chrome, FF, IE) Just says the same error, plus cookies are not enabled, they are btw.

    No fix

    I uploaded a new wp-login.php

    No fix

    I checked the site url in wp-options in the database. Correct

    No fix

    Really cannot find any other solutions and I still cant login. Now I know you might say just re-install it but i've had it up for 4-5 years now and there are so many posts, and styling I've done. I have a plugin backing it up but, my blog loads you can visit it fine http://visualisationmagazine.com/blogvisualthinkmap, I just can't login.

    I'm asking my host for help, but thought I'd post here to see if I am missing something.

    Please help

  2. websitezcom
    Member
    Posted 2 years ago #

    Have you tried making sure the email is set in the users table and then using the forgot password link?

    I can't remember specifically, but I think WordPress uses more than just MD5, but I am not positive.

  3. chrisw12
    Member
    Posted 2 years ago #

    this is hard.

    i've tried the email to reset password and it send me the link and i input it. its never said password invalid.

    i just get user invalid.

    even when i click recover password, it says enter username or email. it doesnt recognise the username there either. *i just edited in phpmyadmin*

    every post i look at to fix this is either closed or hasn't left me with answer that resolves.

    why doesnt wordpress or wp-login, recongise my username in the database? wp-config connects to the database as it sees my blog and displays post fine, just not username.

    thsnks for your suggestion websitezcom

  4. jody16
    Member
    Posted 2 years ago #

    Hi,

    I am having this exact problem - has anyone found a solution?

  5. chrisw12
    Member
    Posted 2 years ago #

    hi jody16,

    i didnt find a solution. i eventually had bitten the bullet and reinstalled wordpress.

    i had a plugin that backed up all my posts and did it regularly.

    so i unistalled through fantastico with my host.

    backed up all my plugins folder on the server

    then (although i was worried plugins i liked and spent ages finding wouldnt work with a new version of wordpress i just thought well i cant blog/post so somethings gotta give) installed wordpress latest version using fantastico.

    i then copied back across the plugins and thankfully they all seem to work so far.

    also, i use yourls to twitter i think it was called and that now 'automagically' as they describe it tweets. i know it is seperate but thought id mention.

    sorry cant offer more help.

  6. chrisw12
    Member
    Posted 2 years ago #

    ...oh and went to phpmyadmin and reinstalled the backed up posts.

    there were other files like hotlinked image cache HLIC and other associated files generated from plugins.

    chris

  7. prayerslayer
    Member
    Posted 2 years ago #

    Hello!

    I had the exact same problem and tried everything. Nothing helped though. As a result I reinstalled the WordPress blog and switched my webspace provider.

    I have an idea what the issue could have been, though. As I tried to alter my username in the database, I was unable to perform a SELECT query because I couldn't allocate enough memory. If I can't do that, how could my WordPress installation look up usernames? That's right, not at all. Contact your database support team, just in case.

    I realised it too late, this post is just for future generations.

  8. tardy
    Member
    Posted 2 years ago #

    Hi there

    I appear to be having the same problem, getting the message 'ERROR: Invalid username or e-mail wordpress'.

    I can get on the blog as usual. Everything else works!

    I've looked in one of the .php files (wp-config.php) and the username is the same there (or at least it reads 'username_wrdp1'). I've tried a variety of different configurations of the username - to no avail - I always get this message: ERROR: Invalid username or e-mail.

    What should I do now?

    Thanks

    Tardy

  9. gardella
    Member
    Posted 2 years ago #

    Hi All,
    I am having the same problem. I repeatedly get the 'invalid username' error when I try to log in. When I try the forgot password function, it tells me there is no user registered with that email. Using PHPmyAdmin I am able to confirm both username and email. I also tried resetting the password there and encrypting using md5.

    I'm not sure why WP can't look up things in the user table. As with others, the blog displays normally.

    I should also mention that my login screen appears messed up. The input fields are only 1 char wide. I haven't logged in for several months, and am not sure what version of WP I'm running.

    If anybody finds a solution, I would love to hear it.

    Thanks,

    G

  10. fuerzayf
    Member
    Posted 1 year ago #

    I had the same problem.

    What worked for me was changing the admin user and pass through phpmyadmin and using that.

    Hope this helps.

  11. Sue Skillen
    Member
    Posted 1 year ago #

    What is the phpmyadmin? I am having the same problem.

  12. jnhghy
    Member
    Posted 1 year ago #

    Info about phpmyadmin here.

  13. sanlan
    Member
    Posted 1 year ago #

    Same problem.... I changed email, password, username to no avail. I even created a new user in the table... the login and password retrieval is still not recognized.

  14. jimhermann
    Member
    Posted 1 year ago #

    Folks,

    If you use phpMyAdmin to view the entries in table wp-user, is there a record with the user_login of pain? The user_nicename probably is admin.

    It looks like a security exploit to me.

    Thanks.

    Jim

  15. Matthew Tickle
    Member
    Posted 1 year ago #

    hi - this is nearly so useful (as i cannot login suddenly but site is still up and looks fine), except my ever-so-carefully stored username and password for phpmyadmin does not work! Would it be possible to be shown exactly which file I need to edit, using my ISP's basic file manager?
    Thanks - Matthew

  16. jimhermann
    Member
    Posted 1 year ago #

    Matthew,

    The WP username and password are not stored in an editable file. They are stored in a MySQL table.

    Your phpmyadmin username and password might be stored in the wp-config.php file. Try viewing it with your file manager.

    Jim

  17. Matthew Tickle
    Member
    Posted 1 year ago #

    Brilliant, Jim - very grateful. So found my wp-config.php file and found that someone (they left a calling card, I won't credit them with their name!) had got in and changed the dbase name AND password. Once I got in, I used phpmyadmin, found the wp_users file and changed the notification email back to mine. I then went to my main "sitename"/wp-admin login page and asked for a password reset. I got email immediately and I am back in. Now I will carefully go through and change all usernames and passwords of everything I can think of to try and get control back.

    Background - I already had long, randomly generated password strings on both the ISP cpanel logins (I use hostpapa - are they vulnerable?), and on wordpress. Does anyone know how these hackers do it? Is it back to the basics of regular password refreshes?

    Jim - thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic