Bug 4514 (Error handling in 500.pl is erroneous itself)

This commit is contained in:
Marcel de Rooy 2010-05-17 13:43:20 +02:00 committed by Henri-Damien LAURENT
parent a7959b4011
commit 9a3e95aa01
3 changed files with 4 additions and 3 deletions

View File

@ -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';

View File

@ -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

View File

@ -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';