Last modified: 2010-05-15 15:56:49 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 T8748, the corresponding Phabricator task for complete and up-to-date bug report information.
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