Title: Login / Password problems ?
Last modified: August 18, 2016

---

# Login / Password problems ?

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [22 years ago](https://wordpress.org/support/topic/login-password-problems/)
 * A summary of what’s around the forums.
    Try to login after each step. #1. Clear
   your cookies Cookies are in your computer. In windows they are in C: / docs and
   setting / username / Cookies folder. #2. Clear the temp cache on your computer#
   3.Edit wp-login.php Go to the “case ‘retrievepassword’:” section. Just under 
   the the comment: // redefining user_login ensures we return the right case in
   the email Replace: $user_login = $user_data[‘user_login’]; with: $user_login 
   = $user_data->user_login; #4. Your blog host should provide you with phpMyadmin
   access to your databases for you to do this. Open phpMyadmin, and click on the
   users table in the left menu (it could be wp_users, or yourprefix_users) Click“
   Browse” Click on the edit button next to the admin user. Delete whatever is in
   the password field. Now go to [http://bfl.rctek.com/tools/?tool=hasher](http://bfl.rctek.com/tools/?tool=hasher)
   enter your desired password, and copy the hash that it generates Paste the hash
   in the password field for admin Save the info in the database. Login to WordPress
   using “admin” and the password you used to create the hash.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/login-password-problems/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/login-password-problems/page/2/?output_format=md)

 *  Thread Starter [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [22 years ago](https://wordpress.org/support/topic/login-password-problems/#post-61380)
 * #1. If your host supplies an sql database, they usually also supply phpmyadmin
   as a tool for sql administration. It allows you to look inside, and alter, the
   database.
    You could contact your host to see if it is available. #2. In 1.2mingus,
   the line in question is number 204: case ‘retrievepassword’: $user_login = $_POST[“
   user_login”]; $user_data = get_userdatabylogin($user_login); // redefining user_login
   ensures we return the right case in the email $user_login = $user_data[‘user_login’];
   $user_email = $user_data->user_email;
 *  Anonymous
 * [22 years ago](https://wordpress.org/support/topic/login-password-problems/#post-61419)
 * > ‘#2. In 1.2mingus, the line in question is number 204:
   >  case ‘retrievepassword’:
   > $user_login = $_POST[“user_login”]; $user_data = get_userdatabylogin($user_login);//
   > redefining user_login ensures we return the right case in the email $user_login
   > = $user_data[‘user_login’]; $user_email = $user_data->user_email; ‘
 * What does this MEAN? Replace what with what????
 *  Thread Starter [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [22 years ago](https://wordpress.org/support/topic/login-password-problems/#post-61427)
 * It means to *delete* this line
    $user_login = $user_data[‘user_login’]; and instead,
   put this line in there: $user_login = $user_data->user_login; It does work – 
   I’ve done it too.
 *  [lovethebomb](https://wordpress.org/support/users/lovethebomb/)
 * (@lovethebomb)
 * [22 years ago](https://wordpress.org/support/topic/login-password-problems/#post-61586)
 * I ran into a similar problem running off an https server. After trying all the
   solutions on this page, I found the solution here: [http://wordpress.org/support/3/6429](http://wordpress.org/support/3/6429)
   it seems you gotta make sure the cookies are set for https as well
 *  [elmsblog](https://wordpress.org/support/users/elmsblog/)
 * (@elmsblog)
 * [21 years, 12 months ago](https://wordpress.org/support/topic/login-password-problems/#post-61703)
 * If one has the e-mail turned off, is it still necessary to change the line under‘
   case retrieve password’?
    I did change it, and I still can’t login, but I was
   just curious. Thanks.
 *  [jslutzky](https://wordpress.org/support/users/jslutzky/)
 * (@jslutzky)
 * [21 years, 12 months ago](https://wordpress.org/support/topic/login-password-problems/#post-61707)
 * <i>I ran into a similar problem running off an https server. After trying all
   the solutions on this page, I found the solution here: [http://wordpress.org/support/3/6429](http://wordpress.org/support/3/6429)
   it seems you gotta make sure the cookies are set for https as well</i>
    Podz’s
   solution didn’t work for me, but this one did. I guess my office uses secure 
   HTTP while my home doesn’t.
 *  [Joey](https://wordpress.org/support/users/joey/)
 * (@joey)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/login-password-problems/#post-61718)
 * unfortunately, after I replaced the original text password with the hashed one,
   this is what I get:
    Database error: [You have an error in your SQL syntax near‘
   WHERE user_login = ‘Joey’ AND user_pass = ‘21232f297a57a5a743894a0e4a801fc3” 
   at line 1] SELECT ID, user_login, user_pass FROM WHERE user_login = ‘Joey’ AND
   user_pass = ‘21232f297a57a5a743894a0e4a801fc3’ Warning: Cannot modify header 
   information – headers already sent by (output started at /home/virtual/site129/
   fst/var/www/html/wp/wp-includes/wp-db.php:80) in /home/virtual/site129/fst/var/
   www/html/wp/wp-login.php on line 110 Warning: Cannot modify header information–
   headers already sent by (output started at /home/virtual/site129/fst/var/www/
   html/wp/wp-includes/wp-db.php:80) in /home/virtual/site129/fst/var/www/html/wp/
   wp-login.php on line 111 Warning: Cannot modify header information – headers 
   already sent by (output started at /home/virtual/site129/fst/var/www/html/wp/
   wp-includes/wp-db.php:80) in /home/virtual/site129/fst/var/www/html/wp/wp-login.
   php on line 112 Warning: Cannot modify header information – headers already sent
   by (output started at /home/virtual/site129/fst/var/www/html/wp/wp-includes/wp-
   db.php:80) in /home/virtual/site129/fst/var/www/html/wp/wp-login.php on line 
   113 Warning: Cannot modify header information – headers already sent by (output
   started at /home/virtual/site129/fst/var/www/html/wp/wp-includes/wp-db.php:80)
   in /home/virtual/site129/fst/var/www/html/wp/wp-login.php on line 117 I think
   the more feasible solution is to provide a method that prevents wordpress from
   hashing the password.
 *  [cmarina](https://wordpress.org/support/users/cmarina/)
 * (@cmarina)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/login-password-problems/#post-61763)
 * I’m getting the same problem and I don’t know what to do. I used this and it 
   worked on my pc and on my mac, now on a different pc, it’s not working. I tried
   this solution and the one mentioned here:
    [http://wordpress.org/support/3/6429](http://wordpress.org/support/3/6429)
   Can anyone recommend something to try? Is this a normal problem for WordPress
   or did I mess up the installation somehow?
 *  Anonymous
 * [21 years, 11 months ago](https://wordpress.org/support/topic/login-password-problems/#post-61764)
 * Ignore steps 1-3 and just do 4, it worked for me
 *  [cmarina](https://wordpress.org/support/users/cmarina/)
 * (@cmarina)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/login-password-problems/#post-61765)
 * Actually, I never installed a nightly build, only the releases. I tried what 
   you suggested and it didn’t work. If I install it again, will I lose all my data,
   registered users and posts? I don’t want to start over. 🙁
 *  Anonymous
 * [21 years, 8 months ago](https://wordpress.org/support/topic/login-password-problems/#post-61785)
 * Sorry to wake this thread up again. I recently tried to upgrade from WordPress
   1.2 to WordPress 1.2.1 and encountered this problem, where on trying to log in
   I would hit a redirection loop. I’ve tried all of the above suggestions, and 
   those in some other threads: [http://wordpress.org/support/3/6429](http://wordpress.org/support/3/6429)
   [http://wordpress.org/support/3/7229](http://wordpress.org/support/3/7229) and
   [http://wordpress.org/support/2/9257](http://wordpress.org/support/2/9257)
    I
   also tried turning register_globals to On, but (thankfully) that made no difference
   either. No success. This is not browser specific, and deleting cookies makes 
   no difference. — Rachel
 *  [lex2000](https://wordpress.org/support/users/lex2000/)
 * (@lex2000)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/login-password-problems/#post-61799)
 * This is an excellent solution. Thanks for the info!
 *  [paperlion](https://wordpress.org/support/users/paperlion/)
 * (@paperlion)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/login-password-problems/#post-61843)
 * The solution by fridgepimp here is also important if you get email errors on 
   a lost password in 1.2.x
 * [http://wordpress.org/support/topic.php?id=19504](http://wordpress.org/support/topic.php?id=19504)
 *  [pts](https://wordpress.org/support/users/pts/)
 * (@pts)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/login-password-problems/#post-61855)
 * I am new to wordpress. I have installed php4 and mysql on win2k. When I login
   to wordpress, I get the default error page HTTP Error 403 – Forbidden
    Internet
   Explorer you are not authorised to view this page
 * What am I missing?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/login-password-problems/#post-61856)
 * Check the permissions on the files in /wp-admin/, they should be 644. Also, check
   the permissions on the directory /wp-admin/, they should be 755.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/login-password-problems/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/login-password-problems/page/2/?output_format=md)

The topic ‘Login / Password problems ?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 17 replies
 * 13 participants
 * Last reply from: [wghayes](https://wordpress.org/support/users/wghayes/)
 * Last activity: [20 years, 9 months ago](https://wordpress.org/support/topic/login-password-problems/page/2/#post-61873)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
