[Koha] OPAC Search results - 500 Error

John J. English johne at ncat.org
Tue Apr 25 01:12:38 NZST 2023


I cleaned things up and things look better already. Thank you so much Katrin.

John E.

-----Original Message-----
From: Koha <koha-bounces at lists.katipo.co.nz> On Behalf Of Katrin Fischer
Sent: Thursday, April 20, 2023 12:23 PM
To: koha at lists.katipo.co.nz
Subject: Re: [Koha] OPAC Search results - 500 Error

Hi John,

please make sure all your items have a homebranch (MARC21 952$a) and holdingbranch (MARC21 952$b) set. Same for the itemtype.

Koha requires these to work correctly.

Hope this helps,

Katrin

On 18.04.23 20:36, John J. English wrote:
> Hello all, I'm having trouble getting detail for books in the OPAC.
> If I search for something in the catalog I'm presented with ta list of books.
> If I click the title of a book I get a 500 error. I think it must something to do with "DBIC result _type  isn't of the _type Branch" seen in the plack error log.
> Relevant logs are below. Any help is much appreciated. Thank you.
>
>
> ==> /var/log/koha/library/plack-opac-error.log <==
> [2023/04/18 11:06:04] [WARN] Use of uninitialized value in hash element at /usr/share/koha/opac/cgi-bin/opac/opac-detail.pl line 680.
>
> ==> /var/log/koha/library/plack-error.log <== DBIC result _type  isn't
> of the _type Branch at /usr/share/koha/opac/cgi-bin/opac/opac-detail.pl line 680.
>
> ==> /var/log/koha/library/plack.log <==
> 192.168.101.254 - - [18/Apr/2023:11:06:04 -0600] "GET /opac/opac-detail.pl?biblionumber=631&query_desc=kw%2Cwrdl%3A%20deep%20work HTTP/1.1" 500 20863 "https://library.ncat.org/cgi-bin/koha/opac-search.pl?idx=kw&q=deep%20work&sort_by=relevance_dsc&count=20&limit=holdingbranch:MT" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0"
>
> ==> /var/log/koha/library/opac-access.log <==
> 192.168.101.254 - - [18/Apr/2023:11:06:04 -0600] "GET
> /cgi-bin/koha/opac-detail.pl?biblionumber=631&query_desc=kw%2Cwrdl%3A%
> 20deep%20work HTTP/1.1" 500 20863
>
>
> JOHN J. ENGLISH
>
>
> _______________________________________________
>
> Koha mailing list
> http://koha-/
> community.org%2F&data=05%7C01%7Cjohne%40ncat.org%7Cf1a73e1342044752292
> 008db41cc5ef4%7C833912b329304964ab4dec38e988d2c4%7C0%7C0%7C63817611881
> 6515545%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLC
> JBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C7000%7C%7C%7C&sdata=YaFFvSaXy0PbvcpcrMt
> 87xlobatKFbjnEg93xhvTfSY%3D&reserved=0
> Koha at lists.katipo.co.nz
> Unsubscribe:
> https://list/
> s.katipo.co.nz%2Fmailman%2Flistinfo%2Fkoha&data=05%7C01%7Cjohne%40ncat
> .org%7Cf1a73e1342044752292008db41cc5ef4%7C833912b329304964ab4dec38e988
> d2c4%7C0%7C0%7C638176118816515545%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4w
> LjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C7000%7C%7C%7C
> &sdata=0K%2B4e0vljBRyvD6SdgrYdaiL01GN1RTQftOmUhnEf0s%3D&reserved=0
_______________________________________________

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