1 [% USE AdditionalContents %]
2 [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %]
3 [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %]
4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>An error has occurred › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% BLOCK cssinclude %][% END %]
9 <body id="error[% errno | html %]" class="error">
10 [% INCLUDE 'masthead.inc' %]
13 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
14 <ol class="breadcrumb">
15 <li class="breadcrumb-item">
16 <a href="/cgi-bin/koha/opac-main.pl">Home</a>
18 <li class="breadcrumb-item active">
19 <a href="#" aria-current="page">Error [% errno | html %]</a>
22 </nav> <!-- /#breadcrumbs -->
24 <div class="container-fluid">
26 [% IF ( OpacNav || OpacNavBottom ) %]
27 <div class="col-lg-2">
29 [% INCLUDE 'navigation.inc' %]
32 <div class="col-10 order-first order-md-first order-lg-2">
34 <div class="col order-first order-md-first order-lg-2">
36 <div id="errormsg[% errno | html %]">
37 <h1>Sorry, the requested page is not available</h1>
38 <h2>Error [% errno | html %]</h2>
39 <p><strong>This message can have the following reason(s):</strong></p>
41 [% IF ( errno == 400 ) %]
42 <li>The link is broken and the page does not exist.</li>
45 [% IF ( errno == 401 ) %]
46 <li>You are not authorized to view this page.</li>
49 [% IF ( errno == 402 ) %]
50 <li>The link is invalid.</li>
53 [% IF ( errno == 403 ) %]
54 <li>You are forbidden to view this page.</li>
57 [% IF ( errno == 404 ) %]
58 <li>You made use of an external link to a catalog item that is no longer available.</li>
59 <li>You followed an outdated link e.g. from a search engine or a bookmark.</li>
60 <li>You tried to access a page that needs authentication.</li>
61 <li>An internal link in our catalog home page is broken and the page does not exist.</li>
63 [% IF ( errno == 500 ) %]
64 <li>An error occurred while processing your request.</li>
69 [% IF ( errno == 401 ) && ( Koha.Preference( 'opacuserlogin' ) == 1 ) %]
70 <li>Please log in to the catalog and try again. <a href="/cgi-bin/koha/opac-user.pl">Login page</a></li>
72 <li>You can use the menu and links at the top of the page</li>
73 <li>You can search our catalog using the search form at the top of this page.</li>
74 <li><a href="/cgi-bin/koha/opac-main.pl">Return to the catalog home page.</a></li>
76 <h2>Report issues and broken links</h2>
78 <li>To report this error, please contact the Koha Administrator.
79 <a href="mailto:[% admin | uri %]">Send email</a>.</li>
81 </div> <!-- / #errormsg[% errno | html %] -->
82 </div> <!-- / .col-lg10/12 -->
83 </div> <!-- / .row -->
84 </div> <!-- / .container-fluid -->
85 </div> <!-- / .main -->
87 [% INCLUDE 'opac-bottom.inc' %]