[Koha] Problem when searching by subject in OPAC

Ben Hall Ben.Hall at ffa.int
Wed Jul 30 18:19:41 NZST 2003


Afternoon all,

I've successfully read-in all my records from CDS/ISIS and I'm now doing a
little searching to check the data is ok.  Everything looks good except for
one thing.  

When I try and search by subject with the search term of "tuna" in the OPAC
system I get this internal server  error:
type = subject at /www/servers/koha/modules/C4/Search.pm line 858.
Can't use string ("1") as a HASH ref while "strict refs" in use at
/www/servers/koha/modules/C4/Search.pm line 1118.
[Wed Jul 30 16:36:38 2003] [error] [client 10.1.1.81] Premature end of
script headers: /www/servers/opac/cgi-bin/opac-searchresults.pl

A tad curious, I tried the same subject search in the KOHA admin system, and
what do you know it, a search by "Tuna" returned results ok -- all is good
in the Koha admin section.  I then went back into the OPAC catalogue search
and tried a subject search, but this time with a numeric value of "1"
instead of "Tuna".  On this occasion the search worked fine; no internal
server error.  Strange.

Any help with this problem would be greatly appreciated.  I'm using the
lastest koha-2.0.0pre2 tarball downloaded from sourceforge.

Ben Hall
Information Officer

Forum Fisheries Agency
PO Box 629 Honiara, Solomon Islands
Tel: +(677) 21124
Fax: +(677) 23995
E-mail: ben.hall at ffa.int



More information about the Koha mailing list