[Koha] Error "500" on Opac

Bruce Yelen byelen at bouldermasons.org
Thu Oct 21 08:56:19 NZDT 2021


Hi Jonathan,

I was not receiving any errors.  However, after disabling Plack (which was apparently masking the error) I received this in opac-error.log:

[Wed Oct 20 13:46:48.822441 2021] [cgi:error] [pid 3947] [client 73.153.28.4:20161] AH01215: The method Koha::Item->Location is not covered by tests!: /usr/share/koha/opac/cgi-bin/opac/opac-detail.pl, referer: https://library.bouldermasons.org/cgi-bin/koha/opac-search.pl?idx=&q=pike&branch_group_limit=&weight_search=1
[Wed Oct 20 13:46:48.822517 2021] [cgi:error] [pid 3947] [client 73.153.28.4:20161] AH01215: : /usr/share/koha/opac/cgi-bin/opac/opac-detail.pl, referer: https://library.bouldermasons.org/cgi-bin/koha/opac-search.pl?idx=&q=pike&branch_group_limit=&weight_search=1
[Wed Oct 20 13:46:48.822626 2021] [cgi:error] [pid 3947] [client 73.153.28.4:20161] AH01215: Trace begun at /usr/share/koha/lib/Koha/Object.pm line 827: /usr/share/koha/opac/cgi-bin/opac/opac-detail.pl, referer: https://library.bouldermasons.org/cgi-bin/koha/opac-search.pl?idx=&q=pike&branch_group_limit=&weight_search=1
[Wed Oct 20 13:46:48.822819 2021] [cgi:error] [pid 3947] [client 73.153.28.4:20161] AH01215: Koha::Object::AUTOLOAD('Koha::Item=HASH(0x5645384f3d40)') called at /usr/share/koha/lib/Koha/Item.pm line 622: /usr/share/koha/opac/cgi-bin/opac/opac-detail.pl, referer: https://library.bouldermasons.org/cgi-bin/koha/opac-search.pl?idx=&q=pike&branch_group_limit=&weight_search=1
[Wed Oct 20 13:46:48.822941 2021] [cgi:error] [pid 3947] [client 73.153.28.4:20161] AH01215: Koha::Item::__ANON__ at /usr/share/koha/lib/Koha/Item.pm line 622: /usr/share/koha/opac/cgi-bin/opac/opac-detail.pl, referer: https://library.bouldermasons.org/cgi-bin/koha/opac-search.pl?idx=&q=pike&branch_group_limit=&weight_search=1
"opac-error.log" 27L, 9324C

So, at least I got a starting point to go "dumpster diving" into the code 😊

- Bruce

-----Original Message-----
From: Jonathan Druart <jonathan.druart at bugs.koha-community.org> 
Sent: Wednesday, October 20, 2021 1:26 AM
To: Bruce Yelen <byelen at bouldermasons.org>
Cc: koha <koha at lists.katipo.co.nz>
Subject: Re: [Koha] Error "500" on Opac

Hello Bruce,

Is there something in the Koha log files? `tail -f /var/log/koha/$INSTANCE/*.log` then refresh the page that generates the 500.

Regards,
Jonathan

Le dim. 17 oct. 2021 à 00:44, Bruce Yelen <byelen at bouldermasons.org> a écrit :
>
> Being rather new to this list, I will apologize in advance if I'm 
> mis-framing this question.
>
>
>
> After upgrading from Koha 20.05 to 21.05, I started receiving an HTTP 
> 500 error when an OPAC user clicks on a specific title in the list 
> returned by a catalog search.  This does not occur when doing a 
> catalog search on the staff pages.  I have looked through the various 
> Koha logs, but cannot find any errors pointing to a script, or 
> anything.  Any ideas and suggestions of where to look for the cause and resolution of this would be helpful.
>
>
>
> Many Thanks!
>
>
>
> Bruce Yelen
>
> _______________________________________________
>
> 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