Last modified: 2010-05-15 15:56:46 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 5558 - Fatal error: Cannot redeclare class user in /var/www/localhost/htdocs/informatica/v2/wiki/includes/User.php
Fatal error: Cannot redeclare class user in /var/www/localhost/htdocs/informa...
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
PC Linux
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-04-12 21:42 UTC by Hugo Ferreira
Modified: 2010-05-15 15:56 UTC (History)
0 users

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


Description Hugo Ferreira 2006-04-12 21:42:52 UTC
When i try to install mediawiki in a Gentoo Linux server, with Apache Server
version: Apache/2.0.54
, PHP 4.4.0-pl1-gentoo and mysqld  Ver 4.0.24, gives me the error below

Checking environment...

Please include all of the lines below when reporting installation problems.

    * PHP 4.3.11 installed
    * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
    * Have XML / Latin1-UTF-8 conversion support.
    * PHP is configured with no memory_limit.
    * Have zlib support; enabling output compression.
    * Neither Turck MMCache nor eAccelerator are installed, can't use object
caching functions
    * Found GNU diff3: /usr/bin/diff3.
    * Found GD graphics library built-in, image thumbnailing will be enabled if
you enable uploads.
    * Installation directory: /var/www/localhost/htdocs/informatica/v2/wiki
    * Script URI path: /v2/wiki
    * Environment checked. You can install MediaWiki.

      Generating configuration file...
    * Database type: mysql

      Fatal error: Cannot redeclare class user in
/var/www/localhost/htdocs/informatica/v2/wiki/includes/User.php on line 23

As i checked, Class user is only declared once. 

lisandro wiki # fgrep -r "class User" *
docs/memcached.txt:     stores: instance of class User
includes/SpecialUserrights.php:class UserrightsForm extends HTMLForm {
includes/SpecialUserrights.php:} // end class UserrightsForm
includes/templates/Userlogin.php:class UserloginTemplate extends QuickTemplate {
includes/templates/Userlogin.php:class UsercreateTemplate extends QuickTemplate {
includes/User.php:class User {
maintenance/ UserDupes {
Comment 2 STyx 2006-05-23 15:45:30 UTC
oups! wrong page, sorry

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