From 9a3e95aa016dd1a5c09815b0ff5461c6f08c900e Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 17 May 2010 13:43:20 +0200 Subject: [PATCH] Bug 4514 (Error handling in 500.pl is erroneous itself) --- errors/500.pl | 3 ++- koha-tmpl/opac-tmpl/prog/en/modules/errors/500.tmpl | 2 +- opac/errors/500.pl | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/errors/500.pl b/errors/500.pl index 28c7aefd42..a15e48ea2f 100755 --- a/errors/500.pl +++ b/errors/500.pl @@ -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'; + diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/errors/500.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/errors/500.tmpl index 27121ff2a9..f96e407559 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/errors/500.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/errors/500.tmpl @@ -10,7 +10,7 @@

An Error has Occurred

-

Error 404

+

Error 500

  • An error occurred while try to process your request.
  • To report this error, you can diff --git a/opac/errors/500.pl b/opac/errors/500.pl index fb0350e74a..cae7746c8d 100755 --- a/opac/errors/500.pl +++ b/opac/errors/500.pl @@ -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'; -- 2.39.5