Topic on Project:Support desk

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

AKlapper (WMF) (talkcontribs)
Harry0725 (talkcontribs)

Yes, I've seen these two pages for many times. But I still don't know how to fix it.

SmartK (talkcontribs)

After updating from 1.26 to 1.30 on one of our many wikis we are now also experiencing this problem. Is there any "solution" ? I am quite sure this is related to the current config of php5 / apache2 / debian on our side but I do not know where to look!

SmartK (talkcontribs)

I just noticed: when I disable the "LastUserLogin" extension this problem is gone.

Ciencia Al Poder (talkcontribs)

The extension is unmaintained and it has several issues looking at its talk page. You probably should avoid using it.

SmartK (talkcontribs)

I will talk to the programmer, I am sure we will update it...

187.59.32.205 (talkcontribs)

Just for information, i had now the same issue, and it was solved disabling "LastUserLogin" extension

Charithao (talkcontribs)

I had a similar issue in media wiki 1.34 when I try to change my password after logging in. Th error went away after disabling "LastUserLogin" extension.

Reply to "CAS update failed?"