--- 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', '<h3>An error occurred during a database query.</h3><p>'.$t.'<br />Error returned by MySQL: '.$e.'<br />SQL Backtrace:</p><pre>'.$bt.'</pre>');