--- parser3/bin/Attic/auto.p.dist.in 2002/09/17 11:33:54 1.9 +++ parser3/bin/Attic/auto.p.dist.in 2003/11/11 09:41:25 1.10 @@ -1,4 +1,4 @@ -#$Id: auto.p.dist.in,v 1.9 2002/09/17 11:33:54 paf Exp $ +#$Id: auto.p.dist.in,v 1.10 2003/11/11 09:41:25 paf Exp $ @conf[] $charsetsdir[@charsetsdir@] @@ -62,7 +62,7 @@ $LIMITS[ # /usr/lib/sendmail -t -i -f postmaster #] -@fatal_error[title;body] +@fatal_error[title;subtitle;body] $response:status(500) $response:content-type[ $.value[text/html] @@ -71,32 +71,31 @@ $response:content-type[ $title -

$title

+

^if(def $subtitle){$subtitle;$title}

$body #for [x] MSIE friendly ^for[i](0;512/8){} + @unhandled_exception_debug[exception;stack] -^fatal_error[Unhandled Exception (Debug); - +^fatal_error[Unhandled Exception^if(def $exception.type){ ($exception.type)};$exception.source;
^untaint[html]{$exception.comment}
-^if(def $exception.source){ -$exception.source
-
^untaint[html]{$exception.file^($exception.lineno^)}
+^if(def $exception.file){ +^untaint[html]{$exception.file^(${exception.lineno}:$exception.colno^)} } -^if(def $exception.type){exception.type=$exception.type} ^if($stack){ -
+
+ ^stack.menu{ - $stack.name $stack.file^($stack.lineno^)
+ } +
$stack.name$stack.file^(${stack.lineno}:$stack.colno^)
} - ] @unhandled_exception_release[exception;stack] -^fatal_error[Unhandled Exception; +^fatal_error[Unhandled Exception;;

The server encountered an unhandled exception and was unable to complete your request.

@@ -109,7 +108,9 @@ or in debug version of unhandled_excepti ] @unhandled_exception[exception;stack] +#use debug version to see problem details ^unhandled_exception_release[$exception;$stack] +#^unhandled_exception_debug[$exception;$stack] @auto[]