Added the http request to the internal error box, since it will be necessary to help track down any reported errors.
git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716@552 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -40,7 +40,7 @@ function INTERNAL_ERROR($message) {
|
|||||||
echo '<BR>It is a problem within the application itself and should be reported to the administrator.</H4>';
|
echo '<BR>It is a problem within the application itself and should be reported to the administrator.</H4>';
|
||||||
|
|
||||||
// Print out the entire stack trace
|
// Print out the entire stack trace
|
||||||
echo "<HR>Stack Trace:<OL>";
|
echo "\n<HR>Stack Trace:<OL>\n";
|
||||||
$trace = debug_backtrace(false);
|
$trace = debug_backtrace(false);
|
||||||
for ($i = 0; $i < count($trace); ++$i) {
|
for ($i = 0; $i < count($trace); ++$i) {
|
||||||
$bline = $trace[$i]['line'];
|
$bline = $trace[$i]['line'];
|
||||||
@@ -58,7 +58,11 @@ function INTERNAL_ERROR($message) {
|
|||||||
|
|
||||||
echo("<LI>$bfile:$bline (" . ($bclas ? "$bclas::$bfunc" : "entry point") . ")</LI>\n");
|
echo("<LI>$bfile:$bline (" . ($bclas ? "$bclas::$bfunc" : "entry point") . ")</LI>\n");
|
||||||
}
|
}
|
||||||
echo '</OL>';
|
echo "</OL>\n";
|
||||||
|
|
||||||
|
echo "\n<HR>HTTP Request<P><PRE>\n";
|
||||||
|
print_r($_REQUEST);
|
||||||
|
echo "\n</PRE>\n";
|
||||||
|
|
||||||
echo '</DIV>';
|
echo '</DIV>';
|
||||||
die();
|
die();
|
||||||
|
|||||||
Reference in New Issue
Block a user