[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Koha-win32] Z39.50 not work, help please!
From: |
John Choo |
Subject: |
Re: [Koha-win32] Z39.50 not work, help please! |
Date: |
Sun, 29 Jul 2007 01:06:57 -0700 (PDT) |
Shouldn't be a problem. I compared the 2 versions and the difference is at
lines 106-117.
I think it is an incompatibility from the original code from Linux to
Windows.
Regards,
John
MKLEE wrote:
>
> HI John,
>
> It works!! Thanks!
> BTW, I am using Koha 2.2.8. Is it okay to replace the search.pl with yours
> (version 2.2.7)? And do you know the cause of the problem?
>
> Regards
> MK Lee
>
>
>
> John Choo wrote:
>>
>> Hi,
>>
>> You can give my attached version of search.pl a try. It's located at
>> C:\usr\koha227\intranet\cgi-bin\koha\z3950\search.pl
>>
>> Make a backup copy of yours first.
>>
>> http://www.nabble.com/file/p11788089/search.pl search.pl
>>
>>
>> MKLEE wrote:
>>>
>>> Dear John,
>>>
>>> I tried to search by ISBN but still got the error page "HTTP 500
>>> Internal Server Error". I am sure the settings of the z39.50 server are
>>> correct, and the underlying yaz client is working properly because I can
>>> use its command-mode yaz-client.exe to search ISBN and retrieve record
>>> from the same z39.50 server. Below is the intranet-error log again:
>>>
>>> [Wed Jul 25 23:19:14 2007] [error] [client 127.0.0.1] SEARCH : HKAPA at
>>> C:/usr/koha228/intranet/cgi-bin/koha/admin/z3950servers.pl line 82.,
>>> referer: http://intranet/cgi-bin/koha/admin/z3950servers.pl
>>> [Wed Jul 25 23:25:27 2007] [error] [client 127.0.0.1] Premature end of
>>> script headers: search.pl, referer:
>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=1587201011
>>> [Wed Jul 25 23:25:27 2007] [error] [client 127.0.0.1] something went
>>> wrong: No error at C:/usr/koha228/intranet/cgi-bin/koha/z3950/search.pl
>>> line 134., referer:
>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=1587201011
>>> [Wed Jul 25 23:25:27 2007] [error] [client 127.0.0.1] doing the search
>>> at C:/usr/koha228/intranet/cgi-bin/koha/z3950/search.pl line 144.,
>>> referer:
>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=1587201011
>>> [Wed Jul 25 23:25:27 2007] [error] [client 127.0.0.1] connection 0:
>>> event 1 (connect), referer:
>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=1587201011
>>> [Wed Jul 25 23:25:27 2007] [error] [client 127.0.0.1] connection 0:
>>> event 6 (send apdu), referer:
>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=1587201011
>>> [Wed Jul 25 23:25:27 2007] [error] [client 127.0.0.1] connection 0:
>>> event 2 (send data), referer:
>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=1587201011
>>> [Wed Jul 25 23:25:27 2007] [error] [client 127.0.0.1] connection 0:
>>> event 3 (receive data), referer:
>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=1587201011
>>> [Wed Jul 25 23:25:27 2007] [error] [client 127.0.0.1] connection 0:
>>> event 7 (receive apdu), referer:
>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=1587201011
>>> [Wed Jul 25 23:25:27 2007] [error] [client 127.0.0.1] connection 0:
>>> event 6 (send apdu), referer:
>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=1587201011
>>> [Wed Jul 25 23:25:27 2007] [error] [client 127.0.0.1] connection 0:
>>> event 2 (send data), referer:
>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=1587201011
>>> [Wed Jul 25 23:25:27 2007] [error] [client 127.0.0.1] connection 0:
>>> event 3 (receive data), referer:
>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=1587201011
>>> [Wed Jul 25 23:25:27 2007] [error] [client 127.0.0.1] connection 0:
>>> event 7 (receive apdu), referer:
>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=1587201011
>>> [Wed Jul 25 23:25:27 2007] [error] [client 127.0.0.1] connection 0:
>>> event 9 (receive search), referer:
>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=1587201011
>>> [Wed Jul 25 23:25:27 2007] [error] [client 127.0.0.1] connection 0:
>>> event 10 (end), referer:
>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=1587201011
>>> [Wed Jul 25 23:25:27 2007] [error] [client 127.0.0.1] lib.hkapa.edu at
>>> C:/usr/koha228/intranet/cgi-bin/koha/z3950/search.pl line 160., referer:
>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=1587201011
>>> [Wed Jul 25 23:25:27 2007] [error] [client 127.0.0.1] 0 lib.hkapa.edu
>>> error @attr 1=7 "/": Truncated words too short (9) Truncated words too
>>> short, referer:
>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&isbn=1587201011
>>>
>>> Any further ideas, please?
>>>
>>> Thanks
>>> MK Lee
>>>
>>>
>>> John Choo wrote:
>>>>
>>>> Hi Lee,
>>>>
>>>> Seems to me like a search error. You might want to try searching by
>>>> ISBN and see what happens first?
>>>>
>>>> Regards,
>>>> john
>>>>
>>>>
>>>> MK Lee wrote:
>>>>>
>>>>> Dear all,
>>>>>
>>>>> Would someone please help? I am using Koha 2.2.8, MySql 4.1.22,
>>>>> ActivePerl 5.8.8.820 and Apache 2.2.4. When I tried to search z39.50
>>>>> author using the included LoC server, an error Web page "HTTP 500
>>>>> Internal Server Error" was returned after clicking the 'Search
>>>>> Internet' button. I also tried to add another z39.50 server and
>>>>> searched again but still got the same error. I had opened all firewall
>>>>> ports. Below is the error log. Any idea, please?
>>>>>
>>>>> [Sat Jul 21 01:05:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 1 (connect), referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl
>>>>> [Sat Jul 21 01:05:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 6 (send apdu), referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl
>>>>> [Sat Jul 21 01:05:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 2 (send data), referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl
>>>>> [Sat Jul 21 01:05:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 3 (receive data), referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl
>>>>> [Sat Jul 21 01:05:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 7 (receive apdu), referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl
>>>>> [Sat Jul 21 01:05:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 6 (send apdu), referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl
>>>>> [Sat Jul 21 01:05:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 2 (send data), referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl
>>>>> [Sat Jul 21 01:05:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 3 (receive data), referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl
>>>>> [Sat Jul 21 01:05:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 7 (receive apdu), referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl
>>>>> [Sat Jul 21 01:05:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 9 (receive search), referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl
>>>>> [Sat Jul 21 01:05:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 10 (end), referer: http://intranet/cgi-bin/koha/z3950/search.pl
>>>>> [Sat Jul 21 01:05:23 2007] [error] [client 127.0.0.1] z3950.loc.gov at
>>>>> C:/usr/koha228/intranet/cgi-bin/koha/z3950/search.pl line 160.,
>>>>> referer: http://intranet/cgi-bin/koha/z3950/search.pl
>>>>> [Sat Jul 21 01:05:23 2007] [error] [client 127.0.0.1] 0 z3950.loc.gov
>>>>> error @attr 1=7 "/": Unsupported search (3) Missconfigured search,
>>>>> malformed at opac, referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl
>>>>> [Sat Jul 21 01:34:23 2007] [error] [client 127.0.0.1] Premature end of
>>>>> script headers: search.pl, referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&author=wei
>>>>> [Sat Jul 21 01:34:23 2007] [error] [client 127.0.0.1] something went
>>>>> wrong: No error at
>>>>> C:/usr/koha228/intranet/cgi-bin/koha/z3950/search.pl line 134.,
>>>>> referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&author=wei
>>>>> [Sat Jul 21 01:34:23 2007] [error] [client 127.0.0.1] doing the search
>>>>> at C:/usr/koha228/intranet/cgi-bin/koha/z3950/search.pl line 144.,
>>>>> referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&author=wei
>>>>> [Sat Jul 21 01:34:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 1 (connect), referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&author=wei
>>>>> [Sat Jul 21 01:34:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 6 (send apdu), referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&author=wei
>>>>> [Sat Jul 21 01:34:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 2 (send data), referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&author=wei
>>>>> [Sat Jul 21 01:34:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 3 (receive data), referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&author=wei
>>>>> [Sat Jul 21 01:34:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 3 (receive data), referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&author=wei
>>>>> [Sat Jul 21 01:34:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 7 (receive apdu), referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&author=wei
>>>>> [Sat Jul 21 01:34:23 2007] [error] [client 127.0.0.1] connection 0:
>>>>> event 10 (end), referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&author=wei
>>>>> [Sat Jul 21 01:34:23 2007] [error] [client 127.0.0.1] lib.hkapa.edu at
>>>>> C:/usr/koha228/intranet/cgi-bin/koha/z3950/search.pl line 160.,
>>>>> referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&author=wei
>>>>> [Sat Jul 21 01:34:23 2007] [error] [client 127.0.0.1] 0 lib.hkapa.edu
>>>>> error @attr 1=7 "/": Bad Request (400) , referer:
>>>>> http://intranet/cgi-bin/koha/z3950/search.pl?oldbiblionumber=&author=wei
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------
>>>>> 無限電郵儲存量,你就無需再擔心收件箱儲存空間會否過量! 立即使用Yahoo! Mail
>>>>> _______________________________________________
>>>>> Koha-win32 mailing list
>>>>> address@hidden
>>>>> http://lists.nongnu.org/mailman/listinfo/koha-win32
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Z39.50-not-work%2C-help-please%21-tf4118628.html#a11849572
Sent from the Koha - Win32 mailing list archive at Nabble.com.