On Apr 10, 2004, at 01:56, Bernhard Naegele wrote:
The following message occurs, when I load the index.php file: ************Start error message *********************** Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /raid00/httpd/htdocs/mediawiki/includes/Database.php on line 196
Looks like a failure to connect to the database. IIRC there was a bug in the install script that failed to set up the user account at least under some circumstances... Change lines 196-197 in Database.php to:
function lastErrno() { return mysql_errno(); } function lastError() { return mysql_error(); }
(remove the "$this->mConn" from each line). It ought now to give out a more useful error message.
-- brion vibber (brion @ pobox.com)