[Koha-bugs] [Bug 9870] New: Error when run rebuild_solr.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 20 11:46:29 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9870
Bug ID: 9870
Summary: Error when run rebuild_solr.pl
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: 3.10
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Searching
Assignee: gmcharlt at gmail.com
Reporter: hend.eleraky at bibalex.org
When i tried to run rebuild_solr.pl i got the following error
Can't locate Koha/SearchEngine/Index.pm in @INC (@INC contains:
/opt/ActivePerl-5.12/site/lib /opt/ActivePerl-5.12/lib .) at ./rebuild_solr.pl
line 28.
I had found Koha/SearchEngine/Index.pm under koha_install_dir so i had copied
it under /opt/ActivePerl-5.12/lib ...
Then i tried to run it again i got :
Couldn't load class (Koha::SearchEngine::Solr::Index) because: Global symbol
"$record_type" requires explicit package name at
/opt/ActivePerl-5.12/lib/Koha/SearchEngine/Solr/Index.pm line 43.
Compilation failed in require at /opt/ActivePerl-5.12/lib/Class/MOP.pm line
117.
at /opt/ActivePerl-5.12/lib/Class/MOP.pm line 123.
I had found that variable $record_type appears only one time by this format
but appears as $recordtype many times so i had changed the only occurrence of
$record_type to $recordtype.
Are the above changes acceptable ?
Koha Version : 3.10.03.000
Search Engine : Solr
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list