The fix...
At line 243 of /xrms/install/install.php, replace the current chunk of
code with the following (between the <snip> tags):
<snip>
// can we make a database connection?
/*
* This test was giving a false negative since get_xrms_dbconnection()
returns
* an ADOdb object and is never null. Modified to check for an actual
ADOdb
* error message instead.
*/
$con = get_xrms_dbconnection();
if ($con->_errorMsg) {
// Oops! We do not have a valid database connection
// Now instruct the user in how to fix this problem
$problem = 'SQL ERROR: '.$con->_errorMsg.'</br></br>';
$problem .= 'We cannot connect to the database. Check the
database ';
$problem .= 'parameters in include/vars.php to make sure they are
correct.';
$problem .= 'Also make sure the database is running and can accept
a connection ';
$problem .= 'from this server. <BR><BR>';
$problem .= 'Then run this installation again.<BR><BR>';
install_fatal_error($problem);
}
</snip>
I hope this helps.
Cheers,
Ivaylo