Last modified: 2013-03-25 15:11:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30201, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28201 - Wiki saying "You have cookies disabled, please enable" during login when cookies are enabled
Wiki saying "You have cookies disabled, please enable" during login when cook...
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.17.x
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Wikipedi...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-23 12:14 UTC by Manish
Modified: 2013-03-25 15:11 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Manish 2011-03-23 12:14:33 UTC
When logging in, multiple times, I (and others) get shown the "You have cookies disabled, please enable to login" while logging in, even when we have them enabled. I only manage to login after trying a few times. This has started happening after 1.17 was deployed.

(discussion here: http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(proposals)#Stop_using_cookies_to_log_in_to_Wikipedia)

Thanks,
ManishEarth
Comment 1 Sam Reed (reedy) 2011-03-23 13:04:22 UTC
Which browser?
Comment 2 Manish 2011-03-23 13:35:37 UTC
Google Chrome, it seemingly works fine with Safari (not sure).
Comment 3 Mark A. Hershberger 2011-03-23 18:21:38 UTC
Brion reported this while we were testing, but there was trouble reproducing the situation.  I'll ask him to chime in.
Comment 4 Brion Vibber 2011-03-23 18:58:08 UTC
All I know is that I confirmed a report that some of the prototype wikis couldn't be logged into several weeks ago, at a time when they were in some borked state. Not sure that helps.
Comment 5 Brion Vibber 2011-03-23 19:04:14 UTC
A few offhand notes for diagnosis:

* if it could be particular to how the browser is dealing with cookies, it will help to know what the browser is
 - and does it happen in other browsers too?
 - are there any browser add-ons or plugins that could affect behavior?
* does clearing cookies on the browser first help?
* if it could be session related, it may be that some memcached servers are on the fritz and only particular peoples' sessions are getting eaten
* take a quick look over the code of the cookie check to confirm how that's done for add'l sneaky stuff
Comment 6 Manish 2011-03-24 09:06:34 UTC
For me, it still happens after clearing the cookies. I don't gave any cookie hungry extensions on chrome, and I haven't encountered the problem on iPad safari. 

Hope that helps.
Comment 7 Mark A. Hershberger 2011-03-25 17:36:44 UTC
After writing the bit below I was able to reproduce the problem if I navigated to the login page and cleared my cookies before clicking "Log in".  This is the only way I could reproduce it.  Of course, clicking "Log in" again got me logged in.

Just in case that is not what is happening, here are many more details of how this works for me:

This is bugging me.  I haven't (yet) been able to reproduce this on Chrome running on Windows 7 (10.0.648.151 (Official Build 78498)).  The plugins I have installed are (from About:plugins): 

 Shockwave Flash 10.2 r154
 Java 6 (2 files) - Version: 6.0.240.7
 Adobe Acrobat - Version: 9.4.3.231 (Disabled)
 Adobe PDF Plug-In For Firefox and Netscape "9.4.3"
 Silverlight - Version: 4.0.60129.0
 Chrome PDF Viewer
 Google Gears 0.5.33.0 - Version: 0.5.33.0
 Skype Toolbars - Version: 5.0.0.6906
 Windows Live Photo Gallery
 Google Update - Version: 1.2.183.39
 Default Plug-in - Version: 1

Extensions, from chrome://extensions:

 Skype Extension - Version: 5.0.0.6907

Cleared the cookies by going to chrome://settings/advanced, clicking "Clear browsing data..." and making sure that "Delete cookies and other site data" and "the beginning of time" are selected before clicking the "Clear browsing data" button on the popup,

Navigated to [[Main Page]], Entered information, and clicked "Log in" with "Log me in globally" checked and "Remember me" not checked.

Verified that the top showed I was logged in (username, "My talk", etc displayed).

Went back to [[Main Page]], verified enwiki showed I was still logged in.

Went to [[Wikipedia:Sandbox]], still logged in.

Clicked the "Edit" tab.  Still logged in.

Editted page, hit "Save page".  Still logged in.

Check page history, showed my user as having recently edited the sandbox.
Comment 8 Jarry1250 2011-06-16 09:24:31 UTC
Just had the same issue in a Firefox Aurora build, 6.a2, but can't reproduce it myself, even. I just wonder if the error message should be changed to incorporate a level of doubt as an interim measure.
Comment 9 Mark A. Hershberger 2011-06-16 21:44:15 UTC
(In reply to comment #8)
> I just wonder if the error message should be changed to
> incorporate a level of doubt as an interim measure.

That is something that wiki admins could do, even without shell access.  If you want the message changed, it is probably better to ask on-wiki.
Comment 10 Manish 2011-06-17 03:29:04 UTC
I just had the problem again while using Chrome beta  (12), on incognito mode. A second try got me in. The thing is, incognito mode handles cookies the exact same way that normal mode does, except that they are separate and inaccessible from the normal mode (basically it's like using a different browser), and they get deleted when the window is closed.

Maybe the message can be changed to: An error occurred while logging in. Please try again. If the error persists, please check that you have cookies enabled etc etc.
Comment 11 Jarry1250 2011-06-17 13:00:55 UTC
I have edited the en.wp message to be a little more vague.

Nonetheless, the bug remains open even for en.wp, I guess.
Comment 12 Mark A. Hershberger 2011-08-01 18:11:22 UTC
I've seen the error appear when you are already logged in and you attempt to log in again. Bug 30167

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links