Topic on Extension talk:UserAdmin

Error purging user who has contributions with apostrophe in the name

1
149.149.135.105 (talkcontribs)

I am having trouble purging a user. When I hit the "confirm purge" button, I get the following:

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 "". Database returned error "1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's_Swivel_concept.jpg','Brandon.jpg','CG1.jpg','Chair_01.JPG','Chair_Assembly.JPG' at line 1 (localhost)".


It seems to be due to an image this user uploaded with the filename "Brandon's_Swivel_concept.jpg" . It seems that mediawiki can handle the upload (probably by escaping the apostrophe in the SQL), but that UserAdmin can't.

Reply to "Error purging user who has contributions with apostrophe in the name"