diff -r ce6053bb48d8 -r ad5986a53197 includes/dbal.php --- a/includes/dbal.php Fri Jun 22 18:42:26 2007 -0400 +++ b/includes/dbal.php Sat Jun 23 09:55:58 2007 -0400 @@ -80,7 +80,7 @@ ob_clean(); } header('HTTP/1.1 500 Internal Server Error'); - $bt = $this->sql_backtrace(); + $bt = $this->latest_query; // $this->sql_backtrace(); $e = htmlspecialchars(mysql_error()); if($e=='') $e='<none>'; if(defined('ENANO_CONFIG_FETCHED')) die_semicritical('Database error', '
'.$t.'
Error returned by MySQL: '.$e.'
SQL Backtrace:
'.$bt.'');