[Koha] error search engine configuration /koha 3.10

Jonathan Druart jonathan.druart at biblibre.com
Tue Dec 4 22:47:06 NZDT 2012


Hi Samuel,

The search engine configuration is available for Solr. The link is
displayed on the admin home page if the syspref SearchEngine is not equal
to "Zebra".
I think this syspref does not exist in your database (why?).
You can add it with the following sql query:
INSERT IGNORE INTO systempreferences
(variable,value,options,explanation,type)
VALUES('SearchEngine','Zebra','Solr|Zebra','Search Engine','Choice');

Regards,
Jonathan

2012/12/4 Samuel Desseaux <samuel.desseaux at ecp.fr>

>
> Hi!
>
> I've this error in search engine configuration.
>
>
>  Software error:
>
> Invalid class name (Koha::SearchEngine::::Config) at
> /usr/lib/perl5/Class/MOP.pm line 89, <DATA> line 581.
>         Class::MOP::load_first_**existing_class('Koha::**SearchEngine::::Config')
> called at /usr/lib/perl5/Class/MOP.pm line 137
>         Class::MOP::load_class('Koha::**SearchEngine::::Config', undef)
> called at /usr/lib/perl5/Moose/Util.pm line 109
>         Moose::Util::_apply_all_roles(**'Koha::SearchEngine::Config=**HASH(0x53da6f0)',
> undef, 'Koha::SearchEngine::::Config'**) called at
> /usr/lib/perl5/Moose/Util.pm line 87
>         Moose::Util::apply_all_roles('**Koha::SearchEngine::Config=**HASH(0x53da6f0)',
> 'Koha::SearchEngine::::Config'**) called at /usr/share/koha/lib/Koha/**SearchEngine/Config.pm
> line 10
>         Koha::SearchEngine::Config::**BUILD('Koha::SearchEngine::**Config=HASH(0x53da6f0)',
> 'HASH(0x53cb568)') called at /usr/lib/perl5/Class/MOP/**Method.pm line 123
>         Class::MOP::Method::execute('**Moose::Meta::Method=HASH(**0x53da978)',
> 'Koha::SearchEngine::Config=**HASH(0x53da6f0)', 'HASH(0x53cb568)') called
> at /usr/lib/perl5/Moose/Object.pm line 50
>         Moose::Object::BUILDALL('Koha:**:SearchEngine::Config=HASH(**0x53da6f0)',
> 'HASH(0x53cb568)') called at /usr/lib/perl5/Moose/Meta/**Class.pm line 278
>         Moose::Meta::Class::new_**object('Moose::Meta::Class=**HASH(0x50cd140)',
> 'HASH(0x53cb568)') called at /usr/lib/perl5/Moose/Object.pm line 25
>         Moose::Object::new('Koha::**SearchEngine::Config') called at
> /usr/share/koha/lib/Koha/**SearchEngine.pm line 18
>         Koha::SearchEngine::__ANON__('**Koha::SearchEngine=HASH(**0x534d318)')
> called at /usr/lib/perl5/Class/MOP/**Mixin/AttributeCore.pm line 53
>         Class::MOP::Mixin::**AttributeCore::default('Moose:**
> :Meta::Attribute=HASH(**0x51beb78)', 'Koha::SearchEngine=HASH(**0x534d318)')
> called at accessor config defined at /usr/share/koha/lib/Koha/**SearchEngine.pm
> line 33
>         Koha::SearchEngine::config('**Koha::SearchEngine=HASH(**0x534d318)')
> called at /usr/share/koha/intranet/cgi-**bin/admin/searchengine/solr/in**
> dexes.pl <http://indexes.pl> line 40
>
>
> What does it mean? How can i solve it?
>
> Thanks
>
> samuel
>
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
>


More information about the Koha mailing list