Last modified: 2010-05-15 15:41:08 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 7399 - Cannot obtain the user list using PostgreSQL
Cannot obtain the user list using PostgreSQL
Status: RESOLVED DUPLICATE of bug 7186
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.7.x
Macintosh Mac OS X 10.4
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-24 17:17 UTC by Miguel Arroz
Modified: 2010-05-15 15:41 UTC (History)
0 users

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


Attachments

Description Miguel Arroz 2006-09-24 17:17:35 UTC
When accessing the Listusers special page (/wiki/index.php/Special:Listusers) an interal error appears with the following:

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/local/mediawiki/includes/Database.php(604): DatabasePostgres->reportQueryError('ERROR: column ...', 1, 'SELECT 
'Listuse...', '', false)
#1 /usr/local/mediawiki/includes/QueryPage.php(319): Database->query('SELECT 'Listuse...')
#2 /usr/local/mediawiki/includes/SpecialListusers.php(232): QueryPage->doQuery(0, 50)
#3 /usr/local/mediawiki/includes/SpecialPage.php(511): wfSpecialListusers(NULL, Object(SpecialPage))
#4 /usr/local/mediawiki/includes/SpecialPage.php(372): SpecialPage->execute(NULL)
#5 /usr/local/mediawiki/includes/Wiki.php(156): SpecialPage->executePath(Object(Title))
#6 /usr/local/mediawiki/includes/Wiki.php(47): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object
(WebRequest))
#7 /usr/local/mediawiki/index.php(123): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object
(WebRequest))
#8 {main}
Comment 1 Miguel Arroz 2006-09-24 17:19:18 UTC
Forgot the versions stuff:

MediaWiki: 1.7.1
PHP: 5.1.6 (apache)
PostgreSQL: PostgreSQL 8.1.3 on powerpc-apple-darwin8.6.0, compiled by GCC powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 
(Apple Computer, Inc. build 5247)
Comment 2 Greg Sabino Mullane 2006-09-24 20:54:06 UTC

*** 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