Page MenuHomePhabricator

SQL error on creating a global account
Closed, DeclinedPublic

Description

Author: dimitar.tsonev

Description:
when trying to complete a global account (with Special:MergeAccount), I get this MySQL error:

SELECT user_id,user_email,user_email_authenticated,user_password,user_editcount FROM user WHERE user_name = 'User123' LIMIT 1

in function „CentralAuthUser::localUserData“. MySQL error „1054: Unknown column 'user_editcount' in 'field list' (localhost)“.

I am using:
MediaWiki 1.13 (r37557)
PHP 5.2.1 (apache2handler)
MySQL 5.0.37
Windows XP

Any idea how to solve that?


Version: unspecified
Severity: enhancement
OS: Windows XP
Platform: PC

Details

Reference
bz14789

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:12 PM
bzimport set Reference to bz14789.
bzimport added a subscriber: Unknown Object (MLST).

Try to run update.php on your wiki.

dimitar.tsonev wrote:

I did, the problem still exists.

Make sure that you have updated all wikis joined into central login.

dimitar.tsonev wrote:

Warning: array_map() [function.array-map]: An error occurred while invoking the map callback in D:\xampp\htdocs\wiki\extensions\CentralAuth\SpecialMergeAccount.php on line 396

Internal error
no wiki for wiki2

Backtrace:

#0 D:\xampp\htdocs\wiki\extensions\CentralAuth\SpecialMergeAccount.php(400): SpecialMergeAccount->foreignUserLink('wiki2')
#1 D:\xampp\htdocs\wiki\extensions\CentralAuth\SpecialMergeAccount.php(393): SpecialMergeAccount->listWikiItem('wiki2', 'primary')
#2 D:\xampp\htdocs\wiki\extensions\CentralAuth\SpecialMergeAccount.php(380): SpecialMergeAccount->formatList(Array, Array, Array)
#3 D:\xampp\htdocs\wiki\extensions\CentralAuth\SpecialMergeAccount.php(371): SpecialMergeAccount->listWikis(Array, Array, Array)
#4 D:\xampp\htdocs\wiki\extensions\CentralAuth\SpecialMergeAccount.php(501): SpecialMergeAccount->listAttached(Array, Array)
#5 D:\xampp\htdocs\wiki\extensions\CentralAuth\SpecialMergeAccount.php(186): SpecialMergeAccount->step3ActionForm(Array, Array)
#6 D:\xampp\htdocs\wiki\extensions\CentralAuth\SpecialMergeAccount.php(56): SpecialMergeAccount->doDryRunMerge('wiki2', Array, Array)
#7 D:\xampp\htdocs\wiki\includes\SpecialPage.php(534): SpecialMergeAccount->execute()
#8 D:\xampp\htdocs\wiki\includes\Wiki.php(224): SpecialPage::executePath(NULL)
#9 D:\xampp\htdocs\wiki\includes\Wiki.php(55): MediaWiki->initializeSpecialCases(Object(Title))
#10 D:\xampp\htdocs\wiki\index.php(92): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(WebRequest))
#11 {main}

dimitar.tsonev wrote:

Is it possible this errot to happen because of the windows installation and the switched off email services?

Probably an issue with the way you've configured CentralAuth/MediaWiki. If you're still interested, I can help you figure out what's wrong.

MarcoAurelio raised the priority of this task from Low to High.May 5 2015, 6:15 PM
MarcoAurelio moved this task from Backlog to Done on the MediaWiki-extensions-CentralAuth board.
MarcoAurelio raised the priority of this task from High to Needs Triage.May 5 2015, 6:19 PM
MarcoAurelio set Security to None.