Error trying to do a ordinary search into catalog
Hi people! I am using Koha 3.00.5 in Debian Linux box. My configs are attached. Everything looks fine, but I can't search anything in my catalog. When I type something, say a topic or subject like 'engineering', or part of book title I get this error message: Can't call method "as_usmarc" on an undefined value at /usr/share/koha/lib/C4/Search.pm line 2386. Note that this subjects and books does exists in my catalog. As I sid, everything looks fine.... Any ideas?? Thanks in advance. Leonardo -- Sistema de Antivirus do CEFET-MG: Esta mensagem foi verificada pelo sistema de antivirus e acredita-se estar livre de perigo.
On 3/03/2010 12:17 p.m., Leonardo Bruno wrote:
Hi people!
I am using Koha 3.00.5 in Debian Linux box. My configs are attached. Everything looks fine, but I can't search anything in my catalog.
When I type something, say a topic or subject like 'engineering', or part of book title I get this error message:
Can't call method "as_usmarc" on an undefined value at /usr/share/koha/lib/C4/Search.pm line 2386.
Note that this subjects and books does exists in my catalog. As I sid, everything looks fine.... Any ideas??
Thanks in advance. Leonardo This may be an issue with old biblios in Zebra that no longer exist in Koha. If so, re-indexing zebra should help.
./your/path/to/rebuild_zebra.pl -v -b -r Braedon
Thanks a lot Braedon! Sadly I forgot to say I chose 'no-zebra' configuration. Could this be the cause?? Thanks again! Em Qua, 2010-03-03 às 12:28 +1300, Braedon Vickers escreveu:
On 3/03/2010 12:17 p.m., Leonardo Bruno wrote:
Hi people!
I am using Koha 3.00.5 in Debian Linux box. My configs are attached. Everything looks fine, but I can't search anything in my catalog.
When I type something, say a topic or subject like 'engineering', or part of book title I get this error message:
Can't call method "as_usmarc" on an undefined value at /usr/share/koha/lib/C4/Search.pm line 2386.
Note that this subjects and books does exists in my catalog. As I sid, everything looks fine.... Any ideas??
Thanks in advance. Leonardo This may be an issue with old biblios in Zebra that no longer exist in Koha. If so, re-indexing zebra should help.
./your/path/to/rebuild_zebra.pl -v -b -r
Braedon _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Sistema de Antivirus do CEFET-MG: Esta mensagem foi verificada pelo sistema de antivirus e acredita-se estar livre de perigo.
On 3/03/2010 12:45 p.m., Leonardo Bruno wrote:
Thanks a lot Braedon!
Sadly I forgot to say I chose 'no-zebra' configuration. Could this be the cause??
Thanks again!
Em Qua, 2010-03-03 às 12:28 +1300, Braedon Vickers escreveu:
This may be an issue with old biblios in Zebra that no longer exist in Koha. If so, re-indexing zebra should help.
./your/path/to/rebuild_zebra.pl -v -b -r
Braedon
Same thing applies to noZebra. Run the corresponding rebuild_nozebra.pl script. I don't think it needs any flags, but have a look at the usage message it prints if necessary. Note that I had nothing but trouble with noZebra in 3.00.05. Most of my problems disappeared when I shifted to Zebra. I would suggest you do the same. If you chose to, have a look through the list archives. Someone went though the process a few weeks ago. The message thread was titled "Problems with OPAC". Braedon
Great Braedon and all the people! Problem solved! I discovered the noZebra equivalence to your tip just before your message arrive! I ran '/my/path/to/rebuild_zebra.pl -s' and so '/my/path/to/rebuild_zebra.pl -d /tmp' as the help told me. and voilà! Search is working! Should I schedule this in cron? And what interval should I use? I will try to learn something about going Zebra from noZebra. Tons of thanks! Em Qua, 2010-03-03 às 12:28 +1300, Braedon Vickers escreveu:
On 3/03/2010 12:17 p.m., Leonardo Bruno wrote:
Hi people!
I am using Koha 3.00.5 in Debian Linux box. My configs are attached. Everything looks fine, but I can't search anything in my catalog.
When I type something, say a topic or subject like 'engineering', or part of book title I get this error message:
Can't call method "as_usmarc" on an undefined value at /usr/share/koha/lib/C4/Search.pm line 2386.
Note that this subjects and books does exists in my catalog. As I sid, everything looks fine.... Any ideas??
Thanks in advance. Leonardo This may be an issue with old biblios in Zebra that no longer exist in Koha. If so, re-indexing zebra should help.
./your/path/to/rebuild_zebra.pl -v -b -r
Braedon _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Sistema de Antivirus do CEFET-MG: Esta mensagem foi verificada pelo sistema de antivirus e acredita-se estar livre de perigo.
Oooops! My mistake!! I ran '/my/path/to/rebuild_nozebra.pl -s' and so '/my/path/to/rebuild_nozebra.pl -d /tmp' Hehe, that's happiness :) Em Ter, 2010-03-02 às 21:16 -0300, Leonardo Bruno escreveu:
Great Braedon and all the people!
Problem solved! I discovered the noZebra equivalence to your tip just before your message arrive!
I ran '/my/path/to/rebuild_zebra.pl -s' and so '/my/path/to/rebuild_zebra.pl -d /tmp' as the help told me. and voilà! Search is working!
Should I schedule this in cron? And what interval should I use?
I will try to learn something about going Zebra from noZebra.
Tons of thanks!
Em Qua, 2010-03-03 às 12:28 +1300, Braedon Vickers escreveu:
On 3/03/2010 12:17 p.m., Leonardo Bruno wrote:
Hi people!
I am using Koha 3.00.5 in Debian Linux box. My configs are attached. Everything looks fine, but I can't search anything in my catalog.
When I type something, say a topic or subject like 'engineering', or part of book title I get this error message:
Can't call method "as_usmarc" on an undefined value at /usr/share/koha/lib/C4/Search.pm line 2386.
Note that this subjects and books does exists in my catalog. As I sid, everything looks fine.... Any ideas??
Thanks in advance. Leonardo This may be an issue with old biblios in Zebra that no longer exist in Koha. If so, re-indexing zebra should help.
./your/path/to/rebuild_zebra.pl -v -b -r
Braedon _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
-- Sistema de Antivirus do CEFET-MG: Esta mensagem foi verificada pelo sistema de antivirus e acredita-se estar livre de perigo.
participants (2)
-
Braedon Vickers -
Leonardo Bruno