Last modified: 2006-11-09 14:24:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 7847 - Use of "addfirstcategorydate" triggers SQL error
Use of "addfirstcategorydate" triggers SQL error
Product: MediaWiki extensions
Classification: Unclassified
DynamicPageList2 (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-11-08 22:06 UTC by Mike Axelrod
Modified: 2006-11-09 14:24 UTC (History)
0 users

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


Description Mike Axelrod 2006-11-08 22:06:14 UTC
Mediawiki 1.8.2 wirth DPL2 version 0.7.7  - recreated on a windows system and a
Unix system.

The following code generates a MySQL error.


The error generated is:


Database error
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 "". MySQL returned error "1109: Unknown table 'c1' in field
list (localhost)".


This have to have something to do with the code around line 708 in

   $sSqlCl_timestamp = ", DATE_FORMAT(c1.cl_timestamp, '%Y%m%d%H%i%s') AS
Comment 1 Cyril Dangerville 2006-11-09 14:22:11 UTC
Indeed, 'c1' should have been replaced by 'cl0'. Mea culpa. 
This is now fixed on subversion.
Comment 2 Rob Church 2006-11-09 14:24:37 UTC
That's r17510.

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