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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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