Last modified: 2007-09-27 08:58:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13470, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11470 - A database query syntax error has occurred while viewing imbedded pics.
A database query syntax error has occurred while viewing imbedded pics.
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
unspecified
Other Windows XP
: Highest critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-27 06:59 UTC by Rick
Modified: 2007-09-27 08:58 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Rick 2007-09-27 06:59:29 UTC
Database error
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)".

This bug was reported when attempting to view any page with an imbedded image.
I would like to fix it if possible, however Im unsure specifically what has caused it.
Comment 1 Andrew Garrett 2007-09-27 07:03:39 UTC
You haven't run the requisite database upgrades. At a command line, type php maintenance/update.php.

Please direct any further inquiries to the MediaWiki IRC channel (#mediawiki on irc.freenode.net) or mailing list (mediawiki-l@lists.wikimedia.org)

Bug is INVALID.
Comment 2 Rick 2007-09-27 07:31:28 UTC
How do i run it? my php server is located externally, and the url to this file doesnt work obviously.
Comment 3 Rob Church 2007-09-27 08:58:03 UTC
See also http://www.mediawiki.org/wiki/Manual:Upgrading_MediaWiki for full instructions regarding the upgrade process, including alternatives for use in environments without direct shell access.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links