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