Page MenuHomePhabricator

SQL syntax error
Closed, DeclinedPublic

Description

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


Version: unspecified
Severity: critical
Whiteboard: aklapper-moreinfo

Details

Reference
bz18622

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:34 PM
bzimport set Reference to bz18622.
bzimport added a subscriber: Unknown Object (MLST).

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=)

bugzilla wrote:

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!