From 9f2a95328ad4f6f598eab0af23935ccf6b780074 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Mon, 20 Jul 2015 23:51:51 +0000 Subject: [PATCH] Bug 14573: Correcting error messages on OPAC so they make better sense To test: 1) Go to cgi-bin/koha/errors/errornumber.pl to see the error messages which currently don't make sense (ie cgi-bin/koha/errors/400.pl etc) 2) Apply patch 3) Go to cgi-bin/koha/errors/400.pl --> Check that it now says "This error means that the link was broken and that the page doesn't exist." 4) Go to cgi-bin/koha/errors/401.pl --> Check that it now says "This error means that you are not authorized to view this page." and "Please log in to the catalog and try again.". Check that 'log in' redirects to the OPAC log in page (opac-user.pl). 5) Go to cgi-bin/koha/errors/402.pl --> Check that it now says "This error means that the link is invalid." 6) Go to cgi-bin/koha/errors/403.pl --> Check that it now says "This error means that you are forbidden to view this page." 7) Go to cgi-bin/koha/errors/404.pl --> Check that it now says "This message may have been caused by any of the following reasons:" and "An internal link in our catalog is broken and the page does not exist". 8) Go to cgi-bin/koha/errors/500.pl --> Check that it now says "An error occurred while processing your request." --- koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/400.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/401.tt | 4 ++-- koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/402.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/403.tt | 4 ++-- koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/404.tt | 4 ++-- koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/500.tt | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/400.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/400.tt index 3e123f9..a61b294 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/400.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/400.tt @@ -27,7 +27,7 @@

An error has occurred

Error 400