Page MenuHomePhabricator

Can't create a new user login with 1.4.4. A database error is thrown
Closed, InvalidPublic

Description

Author: Mike

Description:
I just installed 1.4.4 and tried to create a new user. I get the following error:

Database error
From Mike and Wendy's Wiki
A database query syntax error has occurred. This may indicate a bug in the
software. The last attempted database query was:

(SQL query hidden)

from within function "User::addToDatabase". MySQL returned error "1054: Unknown
column 'user_token' in 'field list' (localhost)".


Version: 1.4.x
Severity: normal
OS: Linux
Platform: PC

Details

Reference
bz2210

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:27 PM
bzimport set Reference to bz2210.
bzimport added a subscriber: Unknown Object (MLST).

magnusrk+wiki wrote:

Was this a fresh install or an upgrade from an older version?

It sounds like you might have upgraded from 1.3.x or earlier without running the neccessary DB update scripts. If so, see the file UPGRADE
in the root mediawiki folder for details on how to upgrade.

Mike wrote:

(In reply to comment #0)

I just installed 1.4.4 and tried to create a new user. I get the following error:

Database error
From Mike and Wendy's Wiki
A database query syntax error has occurred. This may indicate a bug in the
software. The last attempted database query was:

(SQL query hidden)

from within function "User::addToDatabase". MySQL returned error "1054: Unknown
column 'user_token' in 'field list' (localhost)".

(In reply to comment #1)

Was this a fresh install or an upgrade from an older version?

It sounds like you might have upgraded from 1.3.x or earlier without running

the neccessary DB update scripts. If so, see the file UPGRADE

in the root mediawiki folder for details on how to upgrade.

You are correct. It was an upgrade from 1.3.x. The Linux OS is Gentoo and it ran
an upgrade script after the install. I looked in the root mediawiki directory
and there is no file named UPGRADE. It appears that the UPGRADE didn't work
properly. I will post over in the Gentoo forums and also get the source from the
mediawiki site and extrac the UPGRADE file and try it again.

Thanks for your help!

Sounds like a third-party packaging problem. Please report this to the packagers at http://bugs.gentoo.org/