Page MenuHomePhabricator

Article validation: database error for anon user ratings
Closed, ResolvedPublic

Description

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)".


Version: 1.5.x
Severity: normal
URL: http://test.leuksman.com/index.php?title=Special:Validate&mode=userstats&user=82.71.1.109

Details

Reference
bz2250

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:30 PM
bzimport set Reference to bz2250.
bzimport added a subscriber: Unknown Object (MLST).

Magnus changed the database format but hasn't yet added the change to the update script.

That should get done...