Last modified: 2010-05-15 15:56:46 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 T7558, the corresponding Phabricator task for complete and up-to-date bug report information.
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...
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.6.x
PC Linux
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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.inc:class 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.


Navigation
Links