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

Brion Vibber brion at wikimedia.org
Mon Jan 28 22:51:12 UTC 2008


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)



More information about the MediaWiki-l mailing list