Ready to get started?Download WordPress


Can't Log In (20 posts)

  1. SirG3
    Posted 8 years ago #

    I've installed WordPress 1.5.1 and can't log in. I click log in with the right credentials and it sets the wordpresspass_ cookie then it redirects me to wp-admin/. There it performs auth_redirect() and redirects me back to wp-login.php where I started.

    I've tried everything I've seen suggested in the forums / wiki but nothing works :-(.

    If you want to try it, http://sirg3.homeip.net/~allison/ -- admin / temp01 for login info.

    I've tested that other scripts can get / set cookies fine. http://sirg3.homeip.net/~allison/test-redirect.php (it sets the cookie, then sets the location header to test.php, then test.php reads the cookie).

    -- SirG3

  2. tracyberna
    Posted 8 years ago #

    Sorry, just commiserating, and hoping someone will come along with a solution. This sounds like exactly my problem. I'm using Firefox (1.0.3), PHP 4.3.10, MySQL 4.0.22. I looked over the Codex and have done everything except those fixes which require using phpMyAdmin, because BlueDomino hosting apparently doesn't offer it (which blows my mind...) I'm new enough at this stuff that I don't actually know about the hex encoding part, but the rest is my exact problem. Solutions, please??

  3. James
    Happiness Engineer
    Posted 8 years ago #

    If you haven't already, upgrade to WordPress v1.5.1.2.

  4. Mark (podz)
    Support Maven
    Posted 8 years ago #

    @tracyberna - you can download and install phpmyadmin yourself if you wanted:

    It's not that tricky to install though given the cost of hosting I would look at moving to a new host.

  5. tracyberna
    Posted 8 years ago #

    Thanks for those two replies - I do have WP v1.5.1.2 already (just downloaded it yesterday), and as far as phpMyAdmin, I'm going to ask my hosting people to make sure I haven't just missed it. But yeah, they just performed this massive platform upgrade that adds a bunch of tools they were previously lacking, but strangely phpMyAdmin doesn't seem to be one of them. :-/ There's even something in the FAQ about "Can I access my databases remotely?" and it says no. Don't know if that's the same issue, but if it is, then I have my answer.

  6. angsuman
    Posted 8 years ago #

    The problem is different. Upgrade will not solve it.

    Go to your browser options and delete the cookies for this site. You can always delete all the cookies.

    That will fix it.

    Let me know.

  7. tracyberna
    Posted 8 years ago #

    I did try deleting the cookies before I posted my problem. I tried it again just now - deleting in as many places as I could think of - and still no change. I also deleted the plug-ins, and did everything suggested at the Codex that didn't involve using phpMyAdmin.

  8. angsuman
    Posted 8 years ago #

    The same problem happened to me twice, deleting the cookies and restarting the browser solved it for me.

    Also check if your browser is not blocking cookies from this site.

    Try a different browser to see if it helps.

  9. thehippie
    Posted 8 years ago #

    Having the same problem as tracyberna. Brand new to WordPress... just downloaded it this morning and was super-excited after the fast, easy install (first time working with MySQL, because just like tracyberna, I am also hosted by BlueDomino.)

    Everything seemed to go well, but when I try to login, I am forever redirected to the login page. Cleared cookies multiple times, switched browsers, switched computers completely... nothing works.

  10. Swoopr
    Posted 8 years ago #

    I have same problem.. pleas, anybody, help us!

  11. MichaelH
    Posted 8 years ago #

    Anything here to help you?


  12. allornothing
    Posted 8 years ago #

    I am having the same problem. How is it possible that wp-login can't find itself? Everything else works really well, I just can't login.

    MySQL 4.1
    Xitami server 2.5
    Firefox 1.0.4

  13. James
    Happiness Engineer
    Posted 8 years ago #

    How is it possible that wp-login can't find itself?

    Please explain with quoted error messages if possible.

  14. allornothing
    Posted 8 years ago #

    wp-login.php says that wp-login.php is handeling the action:

    <form name="loginform" id="loginform" action="wp-login.php" method="post">

    But when you click login:
    "The URL you asked for does not exist on this website" (this is Xitami's 404 message)

    I am stumped. How can it not find itself?

  15. allornothing
    Posted 8 years ago #

    does anyone have some thoughts on this?

  16. James
    Happiness Engineer
    Posted 8 years ago #

    Try re-uploading your /wp-admin/ folder from a fresh and un-edited copy, preferably from a fresh WordPress download. If that doesn't help, check your siteurl and home values in your WordPress MySQL database. See: http://www.tamba2.org.uk/wordpress/site-url/

  17. allornothing
    Posted 8 years ago #

    the reupload did not work, I will try the siteurl thing tomorrow...

  18. dwilban
    Posted 8 years ago #

    I havn't logged in to my site in a few weeks and low and behold, I too can not login in. Site is


    when I login in it redirects me back to the wp-login.php with the following url variables: redirect_to=%2F%7Ediscover%2Fwp%2Fwp-admin%2F

    1. I checked the site url --it is fine.
    2. Deleted password, and recreated
    3. setup new ID and password ( with correct hash per codex instructions)
    4. Deleted wp-admin directory and root of site and reuploaded with fresh download of wp. verstion 1.5.2?
    5. Deleted cookies.
    6. Tried new wp-login.php script from codex.

    NOTHING IS WORKING. HELP!!!!! It was working a few weeks ago and nothing changed. Is it time to move over to the dreaded MT?

    Server info:

    Operating system Linux
    Kernel version 2.4.29-grsec
    Apache version 1.3.33 (Unix)
    PHP version 4.3.11
    MySQL version 4.0.22-standard
    cPanel Build 10.2.0-STABLE 83


  19. dwilban
    Posted 8 years ago #

    Just solved my problem!
    **** IMPORTANT if you use Zone Alarm *******

    If you use zone alarm personal firewall, it will cause the login issues noted above. I was able to login from work and edit my blog. However I couldn't do it from home. I disabled Zone Alarm and it worked!!!.

    I hope this helps some of the frustrated people who have run into the "can't login" issue.


  20. frankj
    Posted 7 years ago #


    I have found what the issue is with this:

    1) You may have added this site to the "blocked cookie list" - delete it from there
    IE: tools > internet options > privacy > sites > look under managed sites
    If your site is there, delete it

    2) Make sure your browser is accepting cookies for this site
    Between the login and the re-direct to the correct admin page it seems like WP reads
    the cookie, if it ain't there, it will just redirect to the wp-admin page again
    IE: tools > internet options > privacy > sites > in address of website type your
    url with http:// in front and click "allow"

    3) Test by setting your security level to low.
    IE: tools > internet options > privacy > drag lever down to "accept all cookies"

    You may need to apply just 1 or all of them for it to work.

    Hope you get it working & God Bless

Topic Closed

This topic has been closed to new replies.

About this Topic