To get a more descriptive error message, you can edit the "case" lines in the sql_layer.php.
For example, this is the "case" that starts at line 300 in the nuke 6.0 sql_layer.php
change:
|
Code:
|
case "MySQL":
$row = mysql_fetch_row($res);
return $row;
break;; |
to:
|
Code:
|
case "MySQL":
if ($row = mysql_fetch_row($res)) {
return $row;
} else {
print (mysql_error());
}
break;; |
You will still get the errors but they should now have extra info, like table nuke_somename does not exist, this will make it easier to track down the problem.