WordPress.org

Ready to get started?Download WordPress

Forums

124

Can't login after upgrade to 2.3 ERROR; WordPress requires Cookies but ... (113 posts)

  1. alanfluff
    Member
    Posted 6 years ago #

    Hi,

    I have upgraded to 2.3 and cannot login.

    I am stuck with the:

    ERROR; WordPress requires Cookies but your browser does not support them or they are blocked

    message in the login box. I have tried:
    1. Assuming it was a bad password and phpMyAdmin edited the Amin account using an MD5 generator to change my password.
    2. Re-booted
    3. Emptied my browsers satchel, brief case, lunch box, cache, settings
    4. Tried two other browsers, also reset them
    5. Tried a download of the .ZIP instead of the UX flavour-compress in case one was snapped.
    6. Followed the instructions for deleting all my WP (NOT just over-writing as per the initial install), then re-uploaded all fresh shiny 2.3
    7. Praying.
    8. Swearing at my keyboard

    All stubbornly leave me with:

    ERROR; WordPress requires Cookies but your browser does not support them or they are blocked.

    This is VERY soon after 2.3 went live so I know I may not get a reply right away, but, if there is some kind soul who knows that this is, pretty plesase, can you reply?

    I am 100% stuck.

    PS, this support request is like this thread:
    http://wordpress.org/support/topic/135269?replies=7
    but that one says it's not a support request, which is why I posted this.

    THANK you in advance whoever you turn out to be =:-)

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    Are you using any sort of privacy software on your PC? Antivirus? Some of these block cookies and such.

  3. alanfluff
    Member
    Posted 6 years ago #

    No. None. It's a Mac.

    I tried turning off the Firewall.

    I tried turning off LittleSnitch.

    No change.

    Thanks for the suggestion tho'.

  4. MichaelH
    Member
    Posted 6 years ago #

    Here's a related wp-testers thread that is related--maybe you can repond to westi there:
    http://comox.textdrive.com/pipermail/wp-testers/2007-September/005302.html

  5. hypernayte
    Member
    Posted 6 years ago #

    I am also having the exact, same problem: http://wordpress.org/support/topic/135517?replies=2#post-620460

    I have tried downgrading, then re-upgrading, different browsers, etc. Anyone have some insight on this?

  6. Frischkopp
    Member
    Posted 6 years ago #

    Same problem here: I use WinXP and Firefox without any Firewall software or anything and I can't login to the admin pages after the upgrade

    Any help would be really appreciated

  7. alanfluff
    Member
    Posted 6 years ago #

    +MichaelH - Sorry for being thick: a)Is this directed at me (I should respond to Westi) and b)I am not sure how to do that if it is me. But thanks for the link.

    It seems (my low-quality guess) that some Cookie testing code had been added and perhaps it is broken? Incisive eh?

    If this can be commented out, for now, then yay!

  8. Frischkopp
    Member
    Posted 6 years ago #

    Commenting out lines 24 and 313,314 of the wp-login.php file solved the problem for me. Looks like no other functions are connected to this

  9. alanfluff
    Member
    Posted 6 years ago #

    +Frischkopp - Yeah! Thanks, this solved my login problem too - but this is a hack (no shame in that of course) and so I won't close this thread since I am hoping there is a solution lurking out there.

  10. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    Well, looking at that code, it's trying to set a test cookie in your browser, and your browser is not returning the cookie. So something must be interfering.

    Try a different computer altogether. See if that makes any difference.

  11. hypernayte
    Member
    Posted 6 years ago #

    OK, that seems to have worked for me, for now. Thanks, guys!

  12. Ryan Boren
    WordPress Dev
    Posted 6 years ago #

    I opened a ticket for this here with a request information. If you have this problem, can you drop a note here or on the ticket with the information requested?

  13. alanfluff
    Member
    Posted 6 years ago #

    +ryan - Happy to:

    Mac OS X 10.4.10

    Browsers: Firefox 2.0.07, Safari 2.0.4 (419.3) and Camino 2007050909 (1.5)

    Firewall (Mac) turned off or on, same.

    LittleSnitch, turned off on on, same.

    Don't know how to tell my HTTP server version and a quick Google failed to tell me - if it helps, it's the same server that I have used for WP for a long time and was AOK wiht WP2.2

    Cheers and thanks for opening a ticket.

  14. edithfrost
    Member
    Posted 6 years ago #

    Hi, just reporting in from yet another thread about this, http://wordpress.org/support/topic/135269

    The problem happened to me twice, and on both occasions I ended up just deleting the (test) db to get myself unlocked.

    I'm also clueless as to my server verion, and also on Mac OS X 10.4.10. I'm firewalled like crazy but I don't think that's the problem, as I don't have other sites complaining about cookies or anything else. I'm using Firefox, and once the lockout happened I confirmed with FF & Safari on multiple computers (albeit on the same home network).

    I'm using a few plugins -- Sanitize With Underscores, Time Zone, flickrRSS, Google Reader Widget, and Twitter Tools (which throws off category errors on its options page, unrelated to the login thing I assume).

    Thanks very much to Frischkopp for providing the voodoo to get it working again, at least temporarily...!

  15. miskolino
    Member
    Posted 6 years ago #

    same problem... I did clean install and have same problem... tried to comment lines 24, 313 and 314 and didn't work... wont let me to admin panel just shows blank page... I wander is server setup core of the problem?

  16. alanfluff
    Member
    Posted 6 years ago #

    +miskolino - I get a 100% normal login page, just constantly whines about cookies, perhaps your problem is different to mine? (not that that observation helps any - just wanted to clarify).

  17. Ryan Boren
    WordPress Dev
    Posted 6 years ago #

    alanfluff, this patch might help. Can you try adding that line to a fresh version of wp-login.php?

  18. Ryan Boren
    WordPress Dev
    Posted 6 years ago #

    Here, try this copy of wp-login.php that includes the patch.

  19. billsaysthis
    Member
    Posted 6 years ago #

    Ryan, the patched file didn't work for me. Firefox is giving me this error message: "Firefox has detected that the server is redirecting the request for this address in a way that will never complete." I never get to see the live WP page, though the Admin stuff works fine.

  20. alanfluff
    Member
    Posted 6 years ago #

    +ryan - Works a treat with the copy of wp-login.php that includes the patch. Tried on both Firefox and Safari, AOK with both. Excellent.

  21. MrEdd
    Member
    Posted 6 years ago #

    Ryan - at first I thought it was my new security software, but that patch has sorted this problem a treat!

  22. alanfluff
    Member
    Posted 6 years ago #

    +ryan - just read the bugtrac - yes my install IS in a sub dir not the root of my domain.

  23. akirtland
    Member
    Posted 6 years ago #

    The patched file did not work for me either. I have Zone Alarm for my firewall, but I'm quite sure (at least, I think) this isn't the problem, since it's never caused me problems with previous versions of WordPress, and I've ensured that cookies are accepted by my site. Everything was working fine until I upgraded this morning.

    I also tried commenting out lines 24, 313 and 314 for my original wp-login.php file. That didn't work either.

    My db name does not use the "wp" prefix ... would that cause any problems? Any other suggestions?

  24. akirtland
    Member
    Posted 6 years ago #

    Scratch my previous post. Seems to be working now. If I encounter more errors I will let you know.

  25. stuffwhy
    Member
    Posted 6 years ago #

    So we're still with the commenting out of 24, 313, and 314? Because that works. I have no idea of any ill effect.

  26. miskolino
    Member
    Posted 6 years ago #

    nope... patch did not worked for me either :( ... I don't know what to do...

  27. yttesen
    Member
    Posted 6 years ago #

    Patch did'nt work for me either :(

  28. Drewminstry
    Member
    Posted 6 years ago #

    Ryan thank you. using the patched copy of wp-login.php you supplied above has fixed the problem.

    I have the same problem to report.
    I am also installed in a sub-directory.
    Upgraded to 2.3 was fine until I logged out and deleted all my cookies on my main machine, then was not able to login in FF or IE
    My laptop, which still has older cookies could always login to my blog!

    I am gutted that wordpress team have issued such a buggy upgrade - 2.3 has been a nightmare for me so far. :( I think there are issues with being installed in a subdirectory.

  29. alanfluff
    Member
    Posted 6 years ago #

    +stuffwhy - I think the patch (scroll up) is an fix for a bug whereas the '24, 313, and 314' just side steps the problem. I believe this cookie-testing-code was there to help everyone by warning if cookies were not working so they would not have problems later when cookies are required. So, if you have cookie support (like most I would hazard to say) then the test while useful, would not matter, whether it was present or not.

  30. happyboy7
    Member
    Posted 6 years ago #

    I'm having the exact same problem. Cleared cache, cookies, etc. Using IE7 and latest FireFox. I also have it installed in it's own directory.

    I'm not as tech savvy as everyone else....do I just upload the patch to my server, or do I have to do anything else with it?

124

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags