[Koha-bugs] [Bug 30949] New: Error 500 in z3950_search.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jun 12 21:47:55 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30949

            Bug ID: 30949
           Summary: Error 500 in z3950_search.pl
 Change sponsored?: ---
           Product: Koha
           Version: 22.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Cataloging
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: egpetridis at yahoo.com
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

Created attachment 135974
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135974&action=edit
koha intranet error

I wonder how may one debug errors 500 in z3950_search.pl, especially when
searching against multiple targets. 

Searching for ISSN 1061-2688 in the following targets (among many others)

host: webcat.lib.unc.edu
port: 210
DB: innopac

host: afton.lib.unc.edu
port: 210
DB: INNOPAC

I get the following error:

Home  Error 500
An error has occurred!
Error 500
This message may have been caused by any of the following reasons:
You made use of an external link to an item that is no longer available
You followed an outdated link e.g. from a search engine or a bookmark
You tried to access a page that needs authentication
An internal link in the client is broken and the page does not exist
What's next?
Use top menu bar to navigate to another part of Koha.
To report a broken link or any other issue, please contact the Koha
administrator. Send email

Error logs to be uploaded. Please don't focus on the server mentioned in them,
as I located the servers above in previous tries but decided to file a bug
report on subsequent searches that produced said error. 

In different previous searches I've encountered the same problem while
searching against targets

host: NLS.ALMA.EXLIBRISGROUP.COM 
port: 210 
DB: 44NLS_INST
(https://www.nls.uk/catalogues/z39-50/)

host: ELIBRARY.MEL.ORG
port: 210 
DB: INNOPAC

for example. Again, these are merely the targets I had managed to narrow down
in the past. 

I noticed that tag 915 is mentioned in the logs (...Field 915 must have at
least one subfield...), whereas no such tag is defined in standard koha
frameworks such as BKS and SER. Could this be the culprit, data that koha
doesn't expect to receive? Those very targets work fine when queried for
different books/magazines, so it must be something contained in specific
results.

The error may also have to do with the fact that all Z39.50 servers defined in
my installation have "Del952.xsl,Del9LinksExcept952.xsl" in the "XSLT File(s)
for transforming results" field. Both XSLT files are stock, as provided in a
packages installation.

Some 10 years ago I had made the same question, but got nowhere.
https://lists.katipo.co.nz/public/koha/2012-August/033847.html

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list