On Mon, Mar 18, 2013 at 08:49:35AM -0400, Jared Camins-Esakov wrote:
Peter,
I upgraded Koha-3.10 to koha-3.12. But opac can't search and show the
following errors. Could anyone know how to fix the following problem? Thanks a lot.
Software error: Base class package "OpenILS::QueryParser" is empty. (Perhaps you need to 'use' the module which defines that package first, or make that module available in @INC (@INC contains: This is very odd. Could you try turning off QueryParser and see if that fixes it (we'll then troubleshoot the problem so that this works with UseQueryParser, but I'm not quite sure what the error means and want to make sure I understand it)?
Jared, Koha/QueryParser/Driver/PQF.pm has a use base qw(OpenILS::QueryParser) but unless you installed the OpenILS modules ( by installing evergreen) that will not exist in your Perl lib path so you will be using an empty class as the parent. There are a few other hardcoded references to yje OpenILS tree in the QueryParser code. Cheers Colin -- Colin Campbell Chief Software Engineer, PTFS Europe Limited Content Management and Library Solutions +44 (0) 800 756 6803 (phone) +44 (0) 7759 633626 (mobile) colin.campbell@ptfs-europe.com skype: colin_campbell2 http://www.ptfs-europe.com