Last modified: 2013-04-05 15:20:49 UTC
When renaming a page, I've the critical message error : depuis la fonction « DidYouMean::touchPages ». MySQL a renvoyé l’erreur « 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 ')' at line 1 (localhost) ».
It would be helpful if you could provide the full SQL query that led to this error. SQL queries can be exposed using $wgShowSQLErrors = true;
This is the full SQL query : UPDATE `gdnpage`, `gdndympage` SET page_touched = '20090429133257' WHERE page_id = dp_pageid AND (dp_normid=38 OR dp_normid=)
I suspect this has its root cause in extensions/DidYouMean/DidYouMean_body.php at line 160. I started to go dig into this, but then I realized there was a recent major overhaul and I don't know what version you were on. Can you clarify the version, and if this bug was introduced by an upgrade?
Bertrand: If this still happens, which version do you use?
Unfortunately closing this report as no further information has been provided. Bertrand: Please feel free to reopen this report if you can provide the information asked for and if this still happens. Thanks!