Last modified: 2010-05-15 15:38:22 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 T4250, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2250 - Article validation: database error for anon user ratings
Article validation: database error for anon user ratings
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.5.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://test.leuksman.com/index.php?ti...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-26 12:52 UTC by David Gerard
Modified: 2010-05-15 15:38 UTC (History)
0 users

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


Attachments

Description David Gerard 2005-05-26 12:52:57 UTC
The above is my IP's validation statistics page. The error was:

  A database query syntax error has occurred. This may indicate a bug in the
software. The last
attempted database query was:

    SELECT * FROM mw_validate WHERE (val_user='0' AND val_ip='82.71.1.109')

from within function "". MySQL returned error "1054: Unknown column 'val_ip' in
'where clause'
(localhost)".

When I try adding a rating on Main Page (DVD = "yes", text = "tra la la test
test"), I get:

  A database query syntax error has occurred. This may indicate a bug in the
software. The last
attempted database query was:

    INSERT INTO mw_validate
(val_user,val_page,val_revision,val_type,val_value,val_comment,val_ip) VALUES
('0','2289','3767','2','2','tra la la test test','82.71.1.109')

from within function "". MySQL returned error "1054: Unknown column 'val_ip' in
'field list'
(localhost)".
Comment 1 Brion Vibber 2005-05-26 21:16:22 UTC
Magnus changed the database format but hasn't yet added the change to the update script.

That should get done...

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


Navigation
Links