[Koha] OPAC 404 errors after upgrading to 20.05

Father Vlasie fv at spots.school
Fri Nov 6 21:46:43 NZDT 2020


Thank you Katrin!

Yes, you are right, other frameworks did not have the visibility set and changing it solved the problem.

What a relief! :)

FV

> On 6 Nov 2020, at 12:38 am, Katrin Fischer <Katrin.Fischer.83 at web.de> wrote:
> 
> Hi,
> 
> Jonathan's link only points to the default framework, if you are using multiple frameworks please check all of them and make sure it is the field linked to biblio.biblionumber. We are positive that this should fix it, as the problem has appeared a few times already.
> 
> Hope this helps,
> 
> Katrin
> 
>> Gesendet: Freitag, 06. November 2020 um 09:26 Uhr
>> Von: "Father Vlasie" <fv at spots.school>
>> An: "Jonathan Druart" <jonathan.druart at bugs.koha-community.org>
>> Cc: "koha" <koha at lists.katipo.co.nz>
>> Betreff: Re: [Koha] OPAC 404 errors after upgrading to 20.05
>> 
>> Thank you Jonathan!
>> 
>> The subfield in question is already marked as visible in the OPAC.
>> 
>> The problem only seems to occur with catalog search results (in both OPAC and intranet as it turns out), all other links work as far as I can tell.
>> 
>> It is very strange...
>> 
>> FV
>> 
>> 
>>> On 6 Nov 2020, at 12:18 am, Jonathan Druart <jonathan.druart at bugs.koha-community.org> wrote:
>>> 
>>> Hello Father,
>>> 
>>> Make sure the MARC subfield linked with the biblionumber DB field is
>>> visible at the OPAC.
>>> 
>>> Should be at $INTRANET_URL/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=999&frameworkcode=#subcfield
>>> 
>>> Regards,
>>> Jonathan
>>> 
>>> Le ven. 6 nov. 2020 à 05:09, Father Vlasie <fv at spots.school> a écrit :
>>>> 
>>>> Hello again!
>>>> 
>>>> It seems the problem is with the URL generated by the search results:
>>>> 
>>>> /cgi-bin/koha/opac-detail.pl?biblionumber=&query_desc=kw%2Cwrdl%3A%20Kang
>>>> 
>>>> You can see there is no biblionumber specified!
>>>> 
>>>> I am not sure how to troubleshoot this...
>>>> 
>>>> FV
>>>> 
>>>>> On 4 Nov 2020, at 9:09 am, Father Vlasie <fv at spots.school> wrote:
>>>>> 
>>>>> Hello Alvaro,
>>>>> 
>>>>> Thank you very much for your reply.
>>>>> 
>>>>> This 404 page I am seeing is coming from Koha: https://library.spots.school/cgi-bin/koha/errors/404.pl
>>>>> 
>>>>> Nothing is showing in the Apache logs. ( I have checked both access and error logs. )
>>>>> 
>>>>> Any other ideas?
>>>>> 
>>>>> Thank you,
>>>>> 
>>>>> FV
>>>>> 
>>>>>> On 3 Nov 2020, at 9:10 pm, Alvaro Cornejo <cornejo.alvaro at gmail.com> wrote:
>>>>>> 
>>>>>> 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
>>>>> 
>>>> 
>>>> _______________________________________________
>>>> 
>>>> Koha mailing list  http://koha-community.org
>>>> Koha at lists.katipo.co.nz
>>>> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>> 
>> _______________________________________________
>> 
>> 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