Hi, how do I resolve an error as below:
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 "LocalFile::loadFromDB". MySQL returned error "1054: Unknown column 'img_sha1' in 'field list' (localhost)".
PM Poon
http://www.mediawiki.org/wiki/Manual:$wgShowSQLErrors
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Ekompute .info Sent: Thursday, March 26, 2009 6:01 AM To: MediaWiki announcements and site admin list Subject: [Mediawiki-l] Database query syntax error
Hi, how do I resolve an error as below:
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 "LocalFile::loadFromDB". MySQL returned error "1054: Unknown column 'img_sha1' in 'field list' (localhost)".
PM Poon _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Ekompute .info wrote:
Hi, how do I resolve an error as below:
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 "LocalFile::loadFromDB". MySQL returned error "1054: Unknown column 'img_sha1' in 'field list' (localhost)".
PM Poon
The db it's accessing use an old db schema. Did you run update.php?
mediawiki-l@lists.wikimedia.org