Last modified: 2012-09-24 14:44:20 UTC
Fatal error: Call to undefined function mysql_error() in C:\inetpub\wwwroot\wiki\includes\db\DatabaseMysql.php on line 305 This is the code in the file (which comes from a plain vanilla install) with the arrow pointing to the line the error refers to: function lastError() { if ( $this->mConn ) { # Even if it's non-zero, it can still be invalid wfSuppressWarnings(); $error = mysql_error( $this->mConn ); if ( !$error ) { $error = mysql_error(); } wfRestoreWarnings(); } else { ===> $error = mysql_error(); } if( $error ) { $error .= ' (' . $this->mServer . ')'; } return $error; }
What does your http://your-wiki/path/mw-config/ say?
The MySQL module for PHP is not loaded. On windows I think this is php_mysql.dll.