[Mediawiki-l] Password fail after upgrading 1.6.10 > 1.14.0
Tim Starling
tstarling at wikimedia.org
Tue May 19 04:01:25 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Django Boy Eijgensteijn wrote:
> Password fail after upgrading 1.6.10 > 1.14.0
>
> - MediaWiki version: 1.14.0 and 1.6.10
> - PHP version: Php 5
> - MySQL version: 5.0.77
> - URL:
>
> I'm upgrading directly from the 1.6.10 to 1.14.0. I unpack the script from
> the site. Erase LocalSettings.php. Everything works after commenting some
> extensions. But, here is the problem. When trying to log in as SuperUser,
> the password don't match. Ryan_Lane tryed to help me with IRC. I tryed :
> $wgPasswordSalt = false; But doesn't work either.
>
> I'm wondering if you know where i can change this. I think the password
> could be crypt differently during the upgrades.
If you had $wgPasswordSalt = false; in the LocalSettings.php of the
old installation, and then you upgraded using the web installer, then
the problem you describe would occur. If this is the case, you should
back up your database, and then run the following SQL query:
UPDATE user SET user_password =
CONCAT(':A:', SUBSTRING_INDEX(user_password,':',-1))
WHERE user_password LIKE ':B:%';
That should fix it.
- -- Tim Starling
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkoSLxIACgkQ8F4kYQ4+MpPrYACdER1npgwxPfDSRQ46lM64D9Ns
7mYAn39DG2Njvc2yTsIqVPf9rcda1v6C
=FneS
-----END PGP SIGNATURE-----
More information about the MediaWiki-l
mailing list