Last modified: 2010-05-15 14:36:14 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 T2322, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 322 - in-place install doesn't deal with database problems well
in-place install doesn't deal with database problems well
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-03 03:21 UTC by Timwi
Modified: 2010-05-15 14:36 UTC (History)
0 users

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


Attachments

Description Timwi 2004-09-03 03:21:05 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...
Comment 1 Rob Church 2006-01-02 14:27:47 UTC
"...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. ;-)
Comment 2 Rob Church 2006-02-24 12:47:33 UTC
This sort of thing *should* now be fixed, with the improvements to the installer
from 1.5.6 onwards.

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


Navigation
Links