[Mediawiki-l] Database Errors after upgrade to 1.11 - no shell access

The Gadget Doctor mediawiki at thegadgetdoctor.com
Tue Jan 29 07:40:11 UTC 2008


Thanks Brion, you're exactly right.

For anyone else and the archives here's a small hint when upgrading: make
sure an errant copy of LocalSettings.php doesn't creep into the /config/
folder. That is what happened to me so when I ran the updater it quit
because it thought that the update had already been done.

GadgetDoctor

On Jan 29, 2008 12:51 AM, Brion Vibber <brion at wikimedia.org> wrote:

> The Gadget Doctor wrote:
> > (SQL query hidden)
> >
> > from within function "LocalFile::loadFromDB". MySQL returned error
> "1054:
> > Unknown column 'img_sha1' in 'field list' (localhost)".
>
> Sounds like you didn't run the updaters.
>
> Without shell access, you can do this by temporarily removing your
> LocalSettings.php and re-running the web installer (config/index.php).
> Pass it the exact same database settings as you currently use, so it'll
> connect to your existing database and upgrade it.
>
> -- brion vibber (brion @ wikimedia.org)
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


More information about the MediaWiki-l mailing list