Jump to content

Topic on Manual talk:ChangePassword.php/Flow

Harry0725 (talkcontribs)

In MW 1.27, since I use this command "ChangePassword.php" and try to reset password for one of my user. The password changed, but I start to get following error when any of user is trying to modify password or e-mail by Wiki system page:

[2563eeb90d75b862e14660c8] /index.php?title=%E7%89%B9%E6%AE%8A:ChangeCredentials/MediaWiki%5CAuth%5CPasswordAuthenticationRequest&returnto=%E7%89%B9%E6%AE%8A%3A%E5%81%8F%E5%A5%BD%E8%A8%AD%E5%AE%9A MWException from line 3795 of /var/lib/mediawiki/includes/user/User.php: CAS update failed on user_touched for user ID '55' (read from slave); the version of the user to be saved is older than the current version.
Backtrace:
#0 /var/lib/mediawiki/includes/session/SessionManager.php(306): User->saveSettings()
#1 /var/lib/mediawiki/includes/specials/SpecialChangeCredentials.php(219): MediaWiki\Session\SessionManager->invalidateSessionsForUser(User)
#2 /var/lib/mediawiki/includes/specials/SpecialChangeCredentials.php(107): SpecialChangeCredentials->success()
#3 /var/lib/mediawiki/includes/specialpage/SpecialPage.php(479): SpecialChangeCredentials->execute(string)
#4 /var/lib/mediawiki/includes/specialpage/SpecialPageFactory.php(576): SpecialPage->run(string)
#5 /var/lib/mediawiki/includes/MediaWiki.php(282): SpecialPageFactory::executePath(Title, RequestContext)
#6 /var/lib/mediawiki/includes/MediaWiki.php(745): MediaWiki->performRequest()
#7 /var/lib/mediawiki/includes/MediaWiki.php(519): MediaWiki->main()
#8 /var/lib/mediawiki/index.php(43): MediaWiki->run()
#9 {main}

I cannot fix this after lots of study, pls kindly help...Thanks

Reise Reise (talkcontribs)
Reply to "CAS update failed?"