1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

WordPress Does not Recognize Username

Discussion in 'WordPress' started by Ajeet, Sep 24, 2008.

  1. #1
    I have a blog that I am running for 2 years now. It works well, but I am unable to login with my username. Has this happened to you? How do you set it right?
     
    Ajeet, Sep 24, 2008 IP
    craiger22 likes this.
  2. Cheap SEO Services

    Cheap SEO Services <------DoFollow Backlinks

    Messages:
    16,664
    Likes Received:
    1,318
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You will most likely find someone has hacked it and changed the login details. You can try using the "forgot password" link so it sends you an email. If you don't get that email it most likely means it has been taken over by someone. I hope this is not the case for you.

    Col :)
     
    Cheap SEO Services, Sep 24, 2008 IP
    sachin410 likes this.
  3. craiger22

    craiger22 Well-Known Member

    Messages:
    1,472
    Likes Received:
    99
    Best Answers:
    0
    Trophy Points:
    170
    #3
    If it has been comprimised it isnt hard to fix as long as you have phpmyadmin or something similiar to manage the db. If you find the email feature doesnt work feel free to contact me and i can help you recover your blog.

    Also, were you running the most current version of wordpress?
     
    craiger22, Sep 24, 2008 IP
  4. Ajeet

    Ajeet Well-Known Member

    Messages:
    2,511
    Likes Received:
    503
    Best Answers:
    0
    Trophy Points:
    185
    #4
    That link requires username + email. Since the username itself is not working, I cannot use that :(

    Ok, here I am. I do not really know if I have phpmyadmin, but I am hosting my own blog, so there must be some option. Let me know how I can proceed. I was running a rather old version of wp: 2.1.3
     
    Ajeet, Sep 24, 2008 IP
  5. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #5
    By saying "I am hosting my own blog" you mean that you have a domain name, and a hosting account for your blog, correct? If so, then you should definitely have access to phpmyadmin to work with your database. If this is the case, I can help.
     
    Clive, Sep 25, 2008 IP
  6. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #6
    i am sure u r using wp 2.6 version in this version u can't recover ur password if u r using gmail , hotmail or yahoo email address.

    as u said u r using 2.1.3 so i am not sure why this error appears but u should contact ur host for recovering user name.
     
    Jalpari, Sep 25, 2008 IP
  7. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #7
    He probably shouldn't. I believe this isn't something falling within the webhost's support scope. The hosting company should be left alone doing their job around servers being up and running smoothly and securely. One is solely responsible for the installed applications.

    Anyway, Ajeet, if you manage to get into phpmyadmin, you just need to update the "admin" field inside "wp_users" table assuming that your wordpress tables are prefixed with "wp_".

    You could try the following SQL bit to reset your admin password to "password":
    update `wp_users` set user_pass = '$P$BnIfHf/IPxpFBEgbKqNJXKtPP2XWm2.' where user_login = 'admin';
    Code (markup):
    Hope this helps.
     
    Clive, Sep 25, 2008 IP
    craiger22 likes this.
  8. craiger22

    craiger22 Well-Known Member

    Messages:
    1,472
    Likes Received:
    99
    Best Answers:
    0
    Trophy Points:
    170
    #8
    Exactly what I was thinking clive.
     
    craiger22, Sep 25, 2008 IP
  9. Ajeet

    Ajeet Well-Known Member

    Messages:
    2,511
    Likes Received:
    503
    Best Answers:
    0
    Trophy Points:
    185
    #9
    Thanks for all the suggestions and feedback. What happened is that I entered phpmyadmin and the wp_users record seemed as it should. The only thing was that the user_login id had a _234 precede it! I logged in using this new id, and have been able to set it right.

    Is this a case of hacking, or is this a bug?
     
    Ajeet, Sep 25, 2008 IP
  10. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #10
    Could well be a case of hacking, be careful when using outdated script versions!
     
    Clive, Sep 25, 2008 IP
    Ajeet likes this.
  11. craiger22

    craiger22 Well-Known Member

    Messages:
    1,472
    Likes Received:
    99
    Best Answers:
    0
    Trophy Points:
    170
    #11
    I would definitely upgrade. This has all of the signs of a hack attempt.
     
    craiger22, Sep 25, 2008 IP
    Ajeet likes this.
  12. Ikki

    Ikki Peon

    Messages:
    474
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #12
    This means that someone found an exploit on your blog. I'd change my password immediately and follow graiger22's advice: update your wordpress setup.
     
    Ikki, Sep 25, 2008 IP
    Ajeet likes this.
  13. rolf

    rolf Active Member

    Messages:
    1,449
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    90
    #13
    I'm going to bookmark this code but what is "$P$BnIfHf/IPxpFBEgbKqNJXKtPP2XWm2." Is that like an encrypted password or something?

    thanks
     
    rolf, Sep 26, 2008 IP
    craiger22 likes this.
  14. craiger22

    craiger22 Well-Known Member

    Messages:
    1,472
    Likes Received:
    99
    Best Answers:
    0
    Trophy Points:
    170
    #14
    it is md5. To change a password manually simple do the following:

    1. Open phpmyadmin and select your wordpress database.
    2. on the left column select table wp_users (assuming you have used wp_ for your table prefix)
    3. select the browse tab at the top.
    4. Click on edit (the pencil) for the user you want to change the password for.
    5. On the line that says password select "md5" in the function dropdown box. In the "value" box type in your new password and save.

    When you save the new password it will automatically encrypt it for you.

    Hope that helps everybody.
     
    craiger22, Sep 26, 2008 IP
    robjones likes this.