OPAC search problems in version 3
Searching seems to be working on the intranet side of things, but I get no search results on the OPAC. The only thing I found in the logs for the search was in /var/log/koha/koha-zebradaemon-output.log. 15:22:52-13/04 zebrasrv(19) [request] Search biblios ERROR 114 1 1+0 RPN @attrset Bib-1 @and @or @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr 9=32 @attr 2=102 something @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28 @attr 2=102 something @attr 1=4 @attr 4=1 @attr 9=26 @attr 2=102 something @attr 4=6 @attr 5=103 @attr 9=16 @attr 2=102 something @attr 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "someth? " @attr 4=6 @attr 9=14 @attr 2=102 something @or @attr 1=8002 @attr 4=109 @attr 2=2 0 @not @attr "1=_ALLRECORDS" @attr 2=103 '' @attr 1=8002 @attr 2=103 '' 15:22:52-13/04 zebrasrv(19) [session] Connection closed by client Yup. I was searching for 'something'. The intranet search returned 90 results. -- Tim McMahon Technical Services West Liberty Public Library 400 N. Spencer St. West Liberty, IA 52776 Phone: 319-627-2084 Fax: 319-627-2135 tmcmahon@wlpl.org http://www.wlpl.org
Hi Tim ... and Koha List! On Sun, Apr 13, 2008, Tim McMahon - West Liberty Public Library <tmcmahon@wlpl.org> wrote:
Searching seems to be working on the intranet side of things, but I get no search results on the OPAC. The only thing I found in the logs for the search was in /var/log/koha/koha-zebradaemon-output.log.
Tim: I'm following up to this post of yours of 13-Apr-2008, because I'm having a similar problem: searches in Koha 3 catalog (using the latest developer snapshot available today - the Koha database version is 3.00.00.086) are working in the "Intranet", but return NO results in the "OPAC". I'm using UNIMARC. I have disabled Zebra, by setting the "NoZebra" System Preference to ON, but the results are the same. I'm running Koha in a Xen virtual machine running Linux (openSUSE 10.3), Apache 2.2.4 and MySQL 5.0.45 For instance, a search for the word "market" (without the quotes) in the "Intranet" return 22 results but the same search in the OPAC home page (leaving the default dropdown option - "Library Catalog" - selected) return NO results: __________ No Result found ! No results match your search for "market" in [Library Name] Catalog. __________ I see the following entries in my /var/log/koha/koha-opac-error_log log file (I have replaced the IP address of the server for hostname): __________ [Mon May 26 13:50:22 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:22 2008] opac-search.pl: NZAND at /usr/share/koha/lib/C4/Search.pm line 1611., referer: http://hostname/ [Mon May 26 13:50:22 2008] [error] [client 191.112.105.34] EXPR:at pos 8: non-initialized variable category, referer: http://hostname/ [Mon May 26 13:50:22 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:22 2008] opac-search.pl: PARAM:LOOP:next_loop:hash pointer was expected but not found at /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/HTML/Template/Pro.pm line 191., referer: http://hostname/ [Mon May 26 13:50:23 2008] [error] [client 191.112.105.34] File does not exist: /usr/share/koha/opac/htdocs/intranet-tmpl, referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:24 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:24 2008] 404.pl: PARAM:LOOP:next_loop:hash pointer was expected but not found at /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/HTML/Template/Pro.pm line 191., referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:25 2008] [error] [client 191.112.105.34] File does not exist: /usr/share/koha/opac/htdocs/intranet-tmpl, referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:26 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:26 2008] 404.pl: PARAM:LOOP:next_loop:hash pointer was expected but not found at /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/HTML/Template/Pro.pm line 191., referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:26 2008] [error] [client 191.112.105.34] File does not exist: /usr/share/koha/opac/htdocs/intranet-tmpl, referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:27 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:27 2008] 404.pl: PARAM:LOOP:next_loop:hash pointer was expected but not found at /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/HTML/Template/Pro.pm line 191., referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market __________ Do you Tim - or anyone else - have any information that (may help me to) understand and/or solve this problem? Thanks in advance! Best wishes, Ricardo Dias Marques lists AT ricmarques DOT net
Hi everyone in the Koha List, I have sent the message below to the Koha mailing list yesterday (26-May-2008), but apparently it has NOT reached the list. So I'm sending it again. If you are receiving this message twice, I apologize: From Ricardo Dias Marques <lists@ricmarques.net> To Tim McMahon - West Liberty Public Library <tmcmahon@wlpl.org> Cc Koha@lists.katipo.co.nz Date Mon, May 26, 2008 at 2:01 PM Subject Re: [Koha] OPAC search problems in version 3 Hi Tim ... and Koha List! On Sun, Apr 13, 2008, Tim McMahon - West Liberty Public Library <tmcmahon@wlpl.org> wrote:
Searching seems to be working on the intranet side of things, but I get no search results on the OPAC. The only thing I found in the logs for the search was in /var/log/koha/koha-zebradaemon-output.log.
Tim: I'm following up to this post of yours of 13-Apr-2008, because I'm having a similar problem: searches in Koha 3 catalog (using the latest developer snapshot available today - the Koha database version is 3.00.00.086) are working in the "Intranet", but return NO results in the "OPAC". I'm using UNIMARC. I have disabled Zebra, by setting the "NoZebra" System Preference to ON, but the results are the same. I'm running Koha in a Xen virtual machine running Linux (openSUSE 10.3), Apache 2.2.4 and MySQL 5.0.45 For instance, a search for the word "market" (without the quotes) in the "Intranet" return 22 results but the same search in the OPAC home page (leaving the default dropdown option - "Library Catalog" - selected) return NO results: __________ No Result found ! No results match your search for "market" in [Library Name] Catalog. __________ I see the following entries in my /var/log/koha/koha-opac-error_log log file (I have replaced the IP address of the server for hostname): __________ [Mon May 26 13:50:22 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:22 2008] opac-search.pl: NZAND at /usr/share/koha/lib/C4/Search.pm line 1611., referer: http://hostname/ [Mon May 26 13:50:22 2008] [error] [client 191.112.105.34] EXPR:at pos 8: non-initialized variable category, referer: http://hostname/ [Mon May 26 13:50:22 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:22 2008] opac-search.pl: PARAM:LOOP:next_loop:hash pointer was expected but not found at /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/HTML/Template/Pro.pm line 191., referer: http://hostname/ [Mon May 26 13:50:23 2008] [error] [client 191.112.105.34] File does not exist: /usr/share/koha/opac/htdocs/intranet-tmpl, referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:24 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:24 2008] 404.pl: PARAM:LOOP:next_loop:hash pointer was expected but not found at /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/HTML/Template/Pro.pm line 191., referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:25 2008] [error] [client 191.112.105.34] File does not exist: /usr/share/koha/opac/htdocs/intranet-tmpl, referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:26 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:26 2008] 404.pl: PARAM:LOOP:next_loop:hash pointer was expected but not found at /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/HTML/Template/Pro.pm line 191., referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:26 2008] [error] [client 191.112.105.34] File does not exist: /usr/share/koha/opac/htdocs/intranet-tmpl, referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:27 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:27 2008] 404.pl: PARAM:LOOP:next_loop:hash pointer was expected but not found at /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/HTML/Template/Pro.pm line 191., referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market __________ Do you Tim - or anyone else - have any information that (may help me to) understand and/or solve this problem? Thanks in advance! Best wishes, Ricardo Dias Marques lists AT ricmarques DOT net
There's also the hidelostitems system preference which could explain this behavior. If it is set to yes, and you have data in the field that is linked to items.lost in your framework, Koha will see all those items as lost, and not show them in the OPAC. Ryan On Tue, May 27, 2008 at 7:18 AM, Ricardo Dias Marques <lists@ricmarques.net> wrote:
Hi everyone in the Koha List,
I have sent the message below to the Koha mailing list yesterday (26-May-2008), but apparently it has NOT reached the list. So I'm sending it again. If you are receiving this message twice, I apologize:
From Ricardo Dias Marques <lists@ricmarques.net> To Tim McMahon - West Liberty Public Library <tmcmahon@wlpl.org> Cc Koha@lists.katipo.co.nz Date Mon, May 26, 2008 at 2:01 PM Subject Re: [Koha] OPAC search problems in version 3
Hi Tim ... and Koha List!
On Sun, Apr 13, 2008, Tim McMahon - West Liberty Public Library <tmcmahon@wlpl.org> wrote:
Searching seems to be working on the intranet side of things, but I get no search results on the OPAC. The only thing I found in the logs for the search was in /var/log/koha/koha-zebradaemon-output.log.
Tim: I'm following up to this post of yours of 13-Apr-2008, because I'm having a similar problem: searches in Koha 3 catalog (using the latest developer snapshot available today - the Koha database version is 3.00.00.086) are working in the "Intranet", but return NO results in the "OPAC".
I'm using UNIMARC. I have disabled Zebra, by setting the "NoZebra" System Preference to ON, but the results are the same.
I'm running Koha in a Xen virtual machine running Linux (openSUSE 10.3), Apache 2.2.4 and MySQL 5.0.45
For instance, a search for the word "market" (without the quotes) in the "Intranet" return 22 results but the same search in the OPAC home page (leaving the default dropdown option - "Library Catalog" - selected) return NO results:
__________
No Result found !
No results match your search for "market" in [Library Name] Catalog.
__________
I see the following entries in my /var/log/koha/koha-opac-error_log log file (I have replaced the IP address of the server for hostname): __________
[Mon May 26 13:50:22 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:22 2008] opac-search.pl: NZAND at /usr/share/koha/lib/C4/Search.pm line 1611., referer: http://hostname/ [Mon May 26 13:50:22 2008] [error] [client 191.112.105.34] EXPR:at pos 8: non-initialized variable category, referer: http://hostname/ [Mon May 26 13:50:22 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:22 2008] opac-search.pl: PARAM:LOOP:next_loop:hash pointer was expected but not found at /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/HTML/Template/Pro.pm line 191., referer: http://hostname/ [Mon May 26 13:50:23 2008] [error] [client 191.112.105.34] File does not exist: /usr/share/koha/opac/htdocs/intranet-tmpl, referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:24 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:24 2008] 404.pl: PARAM:LOOP:next_loop:hash pointer was expected but not found at /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/HTML/Template/Pro.pm line 191., referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:25 2008] [error] [client 191.112.105.34] File does not exist: /usr/share/koha/opac/htdocs/intranet-tmpl, referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:26 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:26 2008] 404.pl: PARAM:LOOP:next_loop:hash pointer was expected but not found at /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/HTML/Template/Pro.pm line 191., referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:26 2008] [error] [client 191.112.105.34] File does not exist: /usr/share/koha/opac/htdocs/intranet-tmpl, referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:27 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:27 2008] 404.pl: PARAM:LOOP:next_loop:hash pointer was expected but not found at /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/HTML/Template/Pro.pm line 191., referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market __________
Do you Tim - or anyone else - have any information that (may help me to) understand and/or solve this problem?
Thanks in advance!
Best wishes, Ricardo Dias Marques lists AT ricmarques DOT net _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Ryan Higgins LibLime * Open-Source Solutions for Libraries Featuring KohaZOOM ILS 888-564-2457 x704
Hi, First of all, I would like to thank Marilen Corciovei, Marijana Glavica and Ryan Higgins for having given me tips to solve my problem of catalog searches not working in the OPAC (although working in the Intranet) in the Koha 3 development version that I was running (in a virtual machine running openSUSE 10.3). To make a long story short, I ended up solving the problem by doing the following: 1st - Downloading the newest Koha 3 development snapshot version (Koha-HEAD.tar.gz file) that was available yesterday (27-May-2008) at: http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=snapshot;h=HEAD 2nd - Deleting the "koha" MySQL Database (this server only has a Koha test installation, so it's OK for me to delete the Koha database). 3rd - Creating an empty "koha" MySQL Database. 4th - Running the "perl Makefile.PL", "make test" and "make install" commands for this development snapshot. 5th - Running the Koha Web Installer and selecting "Unimarc" as the MARC flavour and "NoZebra" as the indexing engine in "Step 3". When running "perl Makefile.PL" from this development snapshot, I have also answered "no" to the question "Install the Zebra configuration files?" Then, I ran again the bulkmarcimport.pl script for the ISO files that I'm importing. Searches are now working (and returning the same results) both in the OPAC and in the Intranet. Thanks again for all your help! :) Best wishes, Ricardo Dias Marques lists AT ricmarques DOT net
Hello Ricardo, I had some problems with the search on Koha 3 after installation (no results in the Opac or the catalog) and they where related to the zebraqueue daemon not beeing started. Take a look at the INSTALL.debian file, the INSTALL file is incomplete. Maybe it helps, Len On Mon, 2008-05-26 at 14:01 +0100, Ricardo Dias Marques wrote:
Hi Tim ... and Koha List!
On Sun, Apr 13, 2008, Tim McMahon - West Liberty Public Library <tmcmahon@wlpl.org> wrote:
Searching seems to be working on the intranet side of things, but I get no search results on the OPAC. The only thing I found in the logs for the search was in /var/log/koha/koha-zebradaemon-output.log.
Tim: I'm following up to this post of yours of 13-Apr-2008, because I'm having a similar problem: searches in Koha 3 catalog (using the latest developer snapshot available today - the Koha database version is 3.00.00.086) are working in the "Intranet", but return NO results in the "OPAC".
I'm using UNIMARC. I have disabled Zebra, by setting the "NoZebra" System Preference to ON, but the results are the same.
I'm running Koha in a Xen virtual machine running Linux (openSUSE 10.3), Apache 2.2.4 and MySQL 5.0.45
For instance, a search for the word "market" (without the quotes) in the "Intranet" return 22 results but the same search in the OPAC home page (leaving the default dropdown option - "Library Catalog" - selected) return NO results:
__________
No Result found !
No results match your search for "market" in [Library Name] Catalog.
__________
I see the following entries in my /var/log/koha/koha-opac-error_log log file (I have replaced the IP address of the server for hostname): __________
[Mon May 26 13:50:22 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:22 2008] opac-search.pl: NZAND at /usr/share/koha/lib/C4/Search.pm line 1611., referer: http://hostname/ [Mon May 26 13:50:22 2008] [error] [client 191.112.105.34] EXPR:at pos 8: non-initialized variable category, referer: http://hostname/ [Mon May 26 13:50:22 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:22 2008] opac-search.pl: PARAM:LOOP:next_loop:hash pointer was expected but not found at /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/HTML/Template/Pro.pm line 191., referer: http://hostname/ [Mon May 26 13:50:23 2008] [error] [client 191.112.105.34] File does not exist: /usr/share/koha/opac/htdocs/intranet-tmpl, referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:24 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:24 2008] 404.pl: PARAM:LOOP:next_loop:hash pointer was expected but not found at /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/HTML/Template/Pro.pm line 191., referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:25 2008] [error] [client 191.112.105.34] File does not exist: /usr/share/koha/opac/htdocs/intranet-tmpl, referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:26 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:26 2008] 404.pl: PARAM:LOOP:next_loop:hash pointer was expected but not found at /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/HTML/Template/Pro.pm line 191., referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:26 2008] [error] [client 191.112.105.34] File does not exist: /usr/share/koha/opac/htdocs/intranet-tmpl, referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market [Mon May 26 13:50:27 2008] [error] [client 191.112.105.34] [Mon May 26 13:50:27 2008] 404.pl: PARAM:LOOP:next_loop:hash pointer was expected but not found at /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/HTML/Template/Pro.pm line 191., referer: http://hostname/cgi-bin/koha/opac-search.pl?q=market __________
Do you Tim - or anyone else - have any information that (may help me to) understand and/or solve this problem?
Thanks in advance!
Best wishes, Ricardo Dias Marques lists AT ricmarques DOT net _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
On Mon, May 26, 2008 at 02:01:37PM +0100, Ricardo Dias Marques wrote:
Hi Tim ... and Koha List!
On Sun, Apr 13, 2008, Tim McMahon - West Liberty Public Library <tmcmahon@wlpl.org> wrote:
Searching seems to be working on the intranet side of things, but I get no search results on the OPAC. The only thing I found in the logs for the search was in /var/log/koha/koha-zebradaemon-output.log.
Tim: I'm following up to this post of yours of 13-Apr-2008, because I'm having a similar problem: searches in Koha 3 catalog (using the latest developer snapshot available today - the Koha database version is 3.00.00.086) are working in the "Intranet", but return NO results in the "OPAC".
I'm using UNIMARC. I have disabled Zebra, by setting the "NoZebra" System Preference to ON, but the results are the same.
I'm running Koha in a Xen virtual machine running Linux (openSUSE 10.3), Apache 2.2.4 and MySQL 5.0.45
For instance, a search for the word "market" (without the quotes) in the "Intranet" return 22 results but the same search in the OPAC home page (leaving the default dropdown option - "Library Catalog" - selected) return NO results:
__________
No Result found !
No results match your search for "market" in [Library Name] Catalog.
__________
did you try reindexing your database? misc/migration_tools/rebuild_zebra.pl if using Zebra misc/migration_tools/rebuild_nozebra.pl id using NoZebra and if using Zebra, zebra deamon and zebra server have to be started. you need to run the following scripts: bin/koha-zebra-ctl.sh for zebra server bin/koha-zebraqueue-ctl.sh for deamon Marijana --- Marijana Glavica Faculty of Humanities and Social Sciences Libraries I. Lucica 3, 10000 Zagreb, Croatia http://www.knjiznice.ffzg.hr
participants (5)
-
Marijana Glavica -
Marilen Corciovei -
Ricardo Dias Marques -
Ryan Higgins -
Tim McMahon - West Liberty Public Library