Last modified: 2010-05-15 15:37:22 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 2297 - Installation failed (Database) - old PHP software
Installation failed (Database) - old PHP software
Status: RESOLVED DUPLICATE of bug 944
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
PC Linux
: Normal blocker with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-06-02 18:36 UTC by Stefan
Modified: 2010-05-15 15:37 UTC (History)
0 users

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


Description Stefan 2005-06-02 18:36:38 UTC
I tried to install mediawiki (1.5.alpha1 cvs) with a mysql database at
localhost, but the installation script only says: "Couldn't connect to database"
(The database is working, other scripts can be installed).

The error message is:
Trying to connect to MySQL on localhost as root...
Warning: Undefined property: mConn in
/var/www/u135/html/18plus/wiki/includes/Database.php on line 256

Warning: Supplied argument is not a valid MySQL-Link resource in
/var/www/u135/html/18plus/wiki/config/index.php on line 454

    * MySQL error : 

MySQL version is: MySQL 4.0.24_Debian-4woody1-log
PHP version: PHP 4.1.2: ok
Comment 1 Zigger 2005-06-03 15:02:44 UTC
Can you upgrade PHP?  While this may not be the direct cause, the README files
from MediaWiki 1.4.4 and 1.5alpha1 state:
> The code is written in PHP. Version 4.3.2 or higher is recommended. There are
> known issues with early 4.2.x releases.
Comment 2 Stefan 2005-06-03 15:13:26 UTC
I cannot upgrade PHP, it is not my server, only webspace...
Comment 3 Zigger 2005-06-03 15:37:10 UTC
Bug 944 reported the same error in Database.close(), also with PHP v4.1.2.
The webspace provider has the latest release for MySQL 4.0 (March 2005), but old
PHP software (March 2002).

*** This bug has been marked as a duplicate of 944 ***
Comment 4 Rob Church 2005-10-02 12:29:00 UTC
If you're paying for the webspace, then you are entitled to ask for the more
recent (and more secure) versions of things like PHP, mySQL and Apache, etc. so
try contacting the provider.

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