Last modified: 2010-05-15 15:41:15 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 9345 - Special:Listusers on Postgres database blows up
Special:Listusers on Postgres database blows up
Status: RESOLVED DUPLICATE of bug 7186
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.7.x
PC Linux
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
: testme
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-20 03:55 UTC by Amos Shapira
Modified: 2010-05-15 15:41 UTC (History)
0 users

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


Attachments

Description Amos Shapira 2007-03-20 03:55:04 UTC
Using the Debian Etch ("Testing" as of today) package for Mediawiki 1.7.1
(debian revision 9), Postgres version 8.1.8-1, PHP 5.2.0-8, browser is iceweasel
2.0.0.2 (Debian's compilation of Firefox 2.0.0.2).

Installed using instructions found in meta.wikimedia.org/­wiki/Help:Installation

Browsing to the Special:Listusers as a logged in user I got the following error:

A database error has occurred Query: SELECT 'Listusers' as type, 2 AS namespace,
user_name AS title, user_name as value, user_id, COUNT(ug_group) as numgroups
FROM "user" LEFT JOIN user_groups ON user_id=ug_user GROUP BY user_name ORDER BY
value LIMIT 50 OFFSET 0 Function: Error: 1 ERROR: column "user.user_id" must
appear in the GROUP BY clause or be used in an aggregate function

Backtrace:

#0 /usr/share/mediawiki1.7/includes/Database.php(604):
DatabasePostgres->reportQueryError('ERROR: column ...', 1, 'SELECT 'Listuse...',
'', false)
#1 /usr/share/mediawiki1.7/includes/QueryPage.php(319): Database->query('SELECT
'Listuse...')
#2 /usr/share/mediawiki1.7/includes/SpecialListusers.php(232):
QueryPage->doQuery(0, 50)
#3 /usr/share/mediawiki1.7/includes/SpecialPage.php(511):
wfSpecialListusers(NULL, Object(SpecialPage))
#4 /usr/share/mediawiki1.7/includes/SpecialPage.php(372): SpecialPage->execute(NULL)
#5 /usr/share/mediawiki1.7/includes/Wiki.php(156):
SpecialPage->executePath(Object(Title))
#6 /usr/share/mediawiki1.7/includes/Wiki.php(47):
MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage),
Object(WebRequest))
#7 /usr/share/mediawiki1.7/index.php(123): MediaWiki->initialize(Object(Title),
Object(OutputPage), Object(User), Object(WebRequest))
#8 {main}
Comment 1 River Tarnell 2007-03-20 04:02:53 UTC
this was fixed in r16643; the fix is in the current version (1.9.x) and HEAD. 
please upgrade.

*** This bug has been marked as a duplicate of 7186 ***

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


Navigation
Links