In your mysql.inc.php file change this:
code:
$What = find_environmental ("SCRIPT_NAME");
if ( ($user['U_Status'] != "Administrator")
&& ( (!stristr($What,"createtable")) && (!stristr($What,"altertable"))
&& (!stristr($What,"ubbimport.php")) ) ) {
$error = "Database error only visible to forum administrators";
}
else {
$this->errordesc = mysql_error();
}
to this:
code:
$What = find_environmental ("PHP_SELF");
if ( ($user['U_Status'] != "Administrator")
&& ( (!stristr($What,"createtable")) && (!stristr($What,"altertable"))
&& (!stristr($What,"ubbimport.php")) ) ) {
$error = "Database error only visible to forum administrators";
}
else {
$this->errordesc = mysql_error();
}
And see if that will give you a more descriptive error message. Then post the error message here.
I think I'll mention this change to Scream and see if this needs to be added to 6.1 as I have never been able to get a descriptive error message either. This could be do to how php is set and what environmentals are avialable to the users too.