Bug 4514 (Error handling in 500.pl is erroneous itself)
This commit is contained in:
parent
a7959b4011
commit
9a3e95aa01
|
|
@ -34,4 +34,5 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
}
|
||||
);
|
||||
$template->param( admin => $admin );
|
||||
output_html_with_http_headers $query, $cookie, $template->output, 'html', '500 Internal Server Error';
|
||||
output_html_with_http_headers $query, $cookie, $template->output; #, 'html', '500 Internal Server Error';
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
<div id="yui-main">
|
||||
<div class="yui-b"><div class="yui-g">
|
||||
<h3>An Error has Occurred</h3>
|
||||
<h4>Error 404</h4>
|
||||
<h4>Error 500</h4>
|
||||
<ul>
|
||||
<li>An error occurred while try to process your request.</li>
|
||||
<li>To report this error, you can
|
||||
|
|
|
|||
|
|
@ -34,4 +34,4 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
|
|||
}
|
||||
);
|
||||
$template->param( admin => $admin );
|
||||
output_with_http_headers $query, $cookie, $template->output, 'html', '500 Internal Server Error';
|
||||
output_html_with_http_headers $query, $cookie, $template->output; #, 'html', '500 Internal Server Error';
|
||||
|
|
|
|||
Loading…
Reference in New Issue