[Koha] OPAC 404 errors after upgrading to 20.05

Alvaro Cornejo cornejo.alvaro at gmail.com
Wed Nov 4 18:10:11 NZDT 2020


Hi

404 means the requested page is not available or can not be found. Either
because the page does not exist or the user running apache does not have
the right permissions.

Can you check apache access log? there shall be the exact url you are
trying to hit and gives you a more detailed idea of where the issue is.

you can run the following comand to find the related lines:

# sudo more /var/log/apache2/access.log |grep 404

Hope this helps.

Regards,

Alvaro
|----------------------------------------------------------------------------------------|
 Stay safe / Cuídate/  Reste sécurisé
*7* Switch off as you go / Apaga lo que no usas /  Débranchez au fur et à
mesure.
 *q *Recycle always / Recicla siempre / Recyclez toujours
 P Print only if absolutely necessary / Imprime solo si es necesario /
Imprimez seulement si nécessaire


Le mar. 3 nov. 2020 à 22:24, Father Vlasie <fv at spots.school> a écrit :

> Hello everyone,
>
> After upgrading to version 20.05.05 from 19 I am getting 404 errors
> ("Sorry, the requested page is not available Error 404 This message can
> have the following reason(s):...") when clicking on titles in search
> results in the OPAC. The OPAC error log is showing a lot of uninitialised
> values:
>
> [Tue Nov 03 17:21:14.194405 2020] [cgi:error] [pid 5557] [client
> 192.168.2.30:54618] AH01215: [Tue Nov  3 17:21:14 2020] opac-search.pl:
> Use of uninitialized value $query in pattern match (m//) at
> /usr/share/koha/lib/C4/Search.pm line 1330.:
> /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
> [Tue Nov 03 17:21:14.194635 2020] [cgi:error] [pid 5557] [client
> 192.168.2.30:54618] AH01215: [Tue Nov  3 17:21:14 2020] opac-search.pl:
> Use of uninitialized value $_ in substitution (s///) at
> /usr/share/koha/lib/C4/Search.pm line 1603.:
> /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
> [Tue Nov 03 17:21:14.194821 2020] [cgi:error] [pid 5557] [client
> 192.168.2.30:54618] AH01215: [Tue Nov  3 17:21:14 2020] opac-search.pl:
> Use of uninitialized value in subroutine entry at
> /usr/share/perl5/URI/Escape.pm line 184.: /usr/share/koha/opac/cgi-bin/opac/
> opac-search.pl
> [Tue Nov 03 17:21:14.195109 2020] [cgi:error] [pid 5557] [client
> 192.168.2.30:54618] AH01215: [Tue Nov  3 17:21:14 2020] opac-search.pl:
> WARNING: query problem with   ZOOM error 10014 "CCL parsing error"
> (addinfo: "Search word expected") from diag-set 'ZOOM' at
> /usr/share/koha/lib/C4/Search.pm line 355.:
> /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
> [Tue Nov 03 17:21:14.245662 2020] [cgi:error] [pid 5557] [client
> 192.168.2.30:54618] AH01215: [Tue Nov  3 17:21:14 2020] opac-search.pl:
> Use of uninitialized value $times in subtraction (-) at
> /usr/share/koha/lib/C4/Search.pm line 1757.:
> /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
> [Tue Nov 03 19:02:41.708306 2020] [cgi:error] [pid 1483] [client
> 192.168.2.30:56692] AH01215: [Tue Nov  3 19:02:41 2020] opac-main.pl:
> Argument "" isn't numeric in numeric gt (>) at
> /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/en/includes/html_helpers.inc
> line 23.: /usr/share/koha/opac/cgi-bin/opac/opac-main.pl, referer:
> https://library.spots.school/cgi-bin/koha/errors/404.pl
>
>
> I have rebooted the server so all of the services have been restarted.
> Following the instructions here I rebuilt the Zebra index:
> https://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages#Upgrade_Instructions
>
> My uname shows: Linux owl 4.9.0-14-amd64 #1 SMP Debian 4.9.240-2
> (2020-10-30) x86_64 GNU/Linux
>
> Any help would be very much appreciated!
>
> FV
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>


More information about the Koha mailing list