Last modified: 2013-04-05 15:20:49 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 T20622, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18622 - SQL syntax error
SQL syntax error
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
DidYouMean (Other open bugs)
unspecified
All All
: Low critical (vote)
: ---
Assigned To: Nobody - You can work on this!
aklapper-moreinfo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-29 12:07 UTC by Bertrand GRONDIN
Modified: 2013-04-05 15:20 UTC (History)
3 users (show)

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


Attachments

Description Bertrand GRONDIN 2009-04-29 12:07:08 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) ».
Comment 1 Roan Kattouw 2009-04-29 12:51:32 UTC
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;
Comment 2 Bertrand GRONDIN 2009-04-29 13:32:33 UTC
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=)
Comment 3 Autocracy 2009-05-20 00:20:39 UTC
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?
Comment 4 Andre Klapper 2012-11-06 18:43:36 UTC
Bertrand: If this still happens, which version do you use?
Comment 5 Andre Klapper 2013-04-05 15:20:49 UTC
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!

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


Navigation
Links