I’ve just installed WP and ran into the problems described in this thread. Like sexygirlgeek, I have 2 installations of WP in two completely different directories. In both cases, the blog (index.php) and wp-* are in the same directory. The second installation was done yesterday and all I’ve done so far is added a few users (they registered themselves). Today, I have been locked out of admin. I created another user and got locked out of that too!
At this time, my first WP installation is still working fine.
So, I asked a friend to login with my admin password and she could get in fine. But, still, it didn’t work for me so it seemed to suggest it’s a problem with my cookies rather than the login code itself. I deleted all my cookies and emptied the browser’s cache. Applied to fix from sexygirlgeek’s code, and now it all works.
Just wanted to let you guys know that this is a recurring problem, and that the issue most likely seems to be related to the cookies since someone else could login while I couldn’t. Thanks very much for the help, sexygirlgeek. It is very much appreciated. ??
– kielenn