Last modified: 2010-05-15 15:37:22 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 T4297, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
1.5.x
PC Linux
: Normal blocker with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links