[Koha] Since I have done a bulkmarcimport searching isn't possible anymore.

Mason James mason.loves.sushi at gmail.com
Fri Apr 25 15:36:38 NZST 2008


On 2008/04/24, at 10:56 PM, Beda Szukics wrote:

> Hello
>
> Since I have done a bulkmarcimport searching isn't possible anymore. I
> allways get:
>
> Can't call method "as_usmarc" on an undefined value at
> /usr/share/koha/lib/C4/Search.pm line 2106.
>
> You can test it yourself on http://bibliothek.ksobwalden.ch
>
> Koha 3.0beta1
>
> koha-opac-error_log tells me:
> http://bibliothek.ksobwalden.ch/cgi-bin/koha/opac-search.pl?q=werke
> koha at web-kso1:~$
>
> What's wrong?
>
> Cheers      Beda


Hi Beda,

Just quickly,  after a successful bulkmarcimport.pl, you need to run ...

./bin/migration_tools/rebuild_nozebra.pl    *or*
./bin/migration_tools/rebuild_zebra.pl

for your searches to work (depending on whether you have a non-zebra  
or zebra koha)

FYI: if this is your first experience with importing to koha3, try  
your import on a non-zebra setup first
- when it looks good, then attempt to configure a zebra koha

Mason.




More information about the Koha mailing list