Last modified: 2010-05-15 15:56:49 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 6748 - Database query syntax error when attempting to upload a file.
Database query syntax error when attempting to upload a file.
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.6.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-19 21:39 UTC by Chuck Harding
Modified: 2010-05-15 15:56 UTC (History)
0 users

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


Attachments

Description Chuck Harding 2006-07-19 21:39:52 UTC
With a clean install of MW 1.6.7 and then importing an existing wiki using
msqldump into a text file,
and then running the text file to create the database, and everything else
working correctly, when I
try to upload a file the following error presents upon clicking the 'Submit' button:
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 "Image::recordUpload". MySQL returned error "1054: Unknown
column 'ss_images' in 'field list' (localhost)".



Environment:    Linux Distro: FC5
                PHP: 5.1.2
                MySQL: 5.0.18
                Apache: 2.2.2
Comment 1 Brion Vibber 2006-07-19 21:45:50 UTC
It sounds like you overwrote the tables with tables from an 
older version. This could for instance remove current columns 
from the tables. Please run the updaters to ensure your 
database layout is up to date.
Comment 2 Brion Vibber 2006-07-19 22:25:16 UTC
Issue reported as fixed by running updaters, closing bug.

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


Navigation
Links