https://bugzilla.wikimedia.org/show_bug.cgi?id=32122
--- Comment #4 from Dan Nessett <[email protected]> 2011-11-09 19:56:04 UTC --- This bug is hard to reproduce. It only occurs intermittently on our live wikis and I have not been able to reproduce it reliably on a development wiki. I have, however, found a procedure that produces a problem more frequently, albeit still intermittently, that seems related to the bug. I don't know if all of these steps are required, since I discovered the problem by trial and error. The context of the following is: MW 1.16.2 PHP 5.2.4-2ubuntu5.18 Apache/2.2.8 (Ubuntu) [Note; we run PHP 5.3.5 and Apache/2.2.3 on our live servers and we use CentOS, not Ubuntu] The relevant LocalSetings.php data are: # Implicit group for all visitors $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['*']['read'] = true; $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['move'] = false; $wgGroupPermissions['*']['createpage'] = false; $wgGroupPermissions['*']['createtalk'] = false; # Implicit group for all logged-in accounts $wgGroupPermissions['user']['move'] = true; $wgGroupPermissions['emailconfirmed']['move'] = true; $wgGroupPermissions['user']['read'] = true; $wgGroupPermissions['user']['edit'] = true; $wgGroupPermissions['user']['createpage'] = true; $wgGroupPermissions['user']['createtalk'] = true; $wgGroupPermissions['user']['upload'] = true; $wgGroupPermissions['user']['reupload'] = true; $wgGroupPermissions['user']['reupload-shared'] = true; $wgGroupPermissions['user']['minoredit'] = true; $wgGroupPermissions['sysop']['move'] = true; $wgGroupPermissions['sysop']['read'] = true; $wgGroupPermissions['sysop']['edit'] = true; $wgGroupPermissions['sysop']['createpage'] = true; $wgGroupPermissions['sysop']['createtalk'] = true; $wgGroupPermissions['sysop']['upload'] = true; $wgGroupPermissions['sysop']['reupload'] = true; $wgGroupPermissions['sysop']['reupload-shared'] = true; $wgGroupPermissions['sysop']['minoredit'] = true; $wgGroupPermissions['sysop']['setstatus'] = true; $wgGroupPermissions['sysop']['checkuser'] = true; Given this environment, execute the following procedure (the session data appear for a typical execution after the instruction): Delete all session files. Restart httpd. Click Login link: wsLoginToken|s:32:"66e7648619b7cb11e9f844efc2463963"; Log in: wsUserID|i:1;wsToken|s:32:"0ff5b9ecf52077fb05cc74731f13ba2b";wsUserName|s:9:"WikiSysop";wsLoginToken|N; Click edit tab: wsUserID|i:1;wsToken|s:32:"0ff5b9ecf52077fb05cc74731f13ba2b";wsUserName|s:9:"WikiSysop";wsLoginToken|N;wsEditToken|s:32:"4322452852043f4a036a4edf958ffbab"; Make a change to the page, wait at least 60 seconds, then save page: wsUserID|i:1;wsUserName|s:9:"WikiSysop"; Click Login link again and then the edit tab: wsUserID|i:1;wsToken|s:32:"0ff5b9ecf52077fb05cc74731f13ba2b";wsUserName|s:9:"WikiSysop";wsLoginToken|N;wsEditToken|s:32:"4322452852043f4a036a4edf958ffbab"; Make a change to the page, wait at least 60 seconds, then save page: Most of the time, the edit fails. but sometimes it succeeds. More rarely it fails to log out the user. In the latter case the session file contains wsUserID|i:1;wsToken|s:32:"0ff5b9ecf52077fb05cc74731f13ba2b";wsUserName|s:9:"WikiSysop";wsLoginToken|N;wsEditToken|s:32:"4322452852043f4a036a4edf958ffbab"; Notice that wsEditToken is the same as the value for the previous edit. Also, the log in status line on the browser page after the edit continues to show the user logged in. This behavior may continue for a few more edits, but eventually the user is logged out. I have no explanation why this happens and, as specified above, it only happens intermittently. Also, it is not exactly the same problem as this bug describes, but it seems related to problesm with PHP session management. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
