Ok then let's just show everyone the actual error then so we can get an idea of what it is.
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 ("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";
$this->errordesc = mysql_error();
}
else {
$this->errordesc = mysql_error();
}
in your mysql.inc.php file and then login as a non admin user and see what the error could be.
