Last modified: 2010-05-15 14:36:14 UTC
BUG MIGRATED FROM SOURCEFORGE http://sourceforge.net/tracker/index.php?func=detail&aid=919777&group_id=34373&atid=411192 Originally submitted by Daniel Keshet (dkesh) 2004-03-19 21:46 I installed mediawiki on my machine (FreeBSD, mysql3.something, php4.3) once successfully, then nuked it (removing the database). I then tried installing it again, but I get the following error message on screen: Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server. And the following in my apache logs: [Fri Mar 19 02:22:50 2004] [error] PHP Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /web/users/dkesh/wiki/includes/Database.php on line 196 [Fri Mar 19 02:22:50 2004] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /web/users/dkesh/wiki/config/index.php:30) in /web/users/dkesh/wiki/includes/Database.php on line 413 [Fri Mar 19 02:22:50 2004] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /web/users/dkesh/wiki/config/index.php:30) in /web/users/dkesh/wiki/includes/Database.php on line 448 [Fri Mar 19 02:22:50 2004] [error] PHP Warning: Cannot modify header information - headers already sent by (output started at /web/users/dkesh/wiki/config/index.php:30) in /web/users/dkesh/wiki/includes/Database.php on line 449 I don't know why it's having trouble talking to the database, but I get the same error if I put in a non-existent database server. I think the installer should give a more descriptive error message, if possible. ------------------------- Additional comments ------------------------ Date: 2004-03-21 00:20 Sender: SF user vibber Unable to reproduce... FreeBSD: 5.2.1 MediaWiki: 1.2.0rc4 PHP: 5.0.0b4 MySQL: 4.0.16 Never had trouble on my Mac either; PHP 4.3.2. I'll see if I can find an MySQL 3 to check against...
"...then nuked it (removing the database)..." And didn't recreate it? Regardless, I agree that the installer's handling of a lot of things stinks. Which is why it's on my list of things to be done...some day. ;-)
This sort of thing *should* now be fixed, with the improvements to the installer from 1.5.6 onwards.