[Koha] production mode - trapped fatal error

Joe Atzberger ohiocore at gmail.com
Wed Dec 3 08:51:37 NZDT 2008


This means you haven't installed HTML::Template::Pro (or haven't done it in
a location where Koha can find it).
--Joe

On Tue, Dec 2, 2008 at 12:53 PM, Iago Lorenzo Salgueiro <ilorenzo at cetmar.org
> wrote:

>  Permissions checked, all good (in koha files and configs)
>
> I set PERL5LIB and KOHA_CONF, inside "/var/www/html-virtuals/koha/lib"
> folder I run:
>
> # perl -wc C4/Auth.pm
> Can't locate HTML/Template/Pro.pm in @INC (@INC contains:
> /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0
> /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
> /usr/local/lib/perl5/site_perl/5.10.0
> /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
> /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
> /usr/local/lib/perl5/site_perl/5.10.0 /usr/local/lib/perl5/site_perl
> /usr/lib/perl5/site_perl .) at C4/Output.pm line 33.
> BEGIN failed--compilation aborted at C4/Output.pm line 33.
> Compilation failed in require at C4/Auth.pm line 30.
> BEGIN failed--compilation aborted at C4/Auth.pm line 30.
>
> What means this error?
>
>  -----Mensaje original-----
> *De:* Joe Atzberger [mailto:ohiocore at gmail.com]
> *Enviado el:* martes, 02 de diciembre de 2008 17:03
> *Para:* Iago Lorenzo Salgueiro
> *CC:* koha at lists.katipo.co.nz
> *Asunto:* Re: [Koha] production mode - trapped fatal error
>
> Iago --
>
> Get on the command line, then set/export PERL5LIB and KOHA_CONF.  Since the
> problem seems to be with Auth, then try perl -wc C4/Auth.pm
>
> Make sure the permissions on your KOHA_CONF file allow it to be read by
> Apache.
>
> --Joe
>
> On Tue, Dec 2, 2008 at 3:28 AM, Iago Lorenzo Salgueiro <
> ilorenzo at cetmar.org> wrote:
>
>>  Hi:
>>   In Fedora 9, with KOHA 3.00.00 and after all the setup, when i go to my
>> koha opac page for first time, i get the error:
>>
>> "production mode - trapped fatal error"
>>
>>  I look at and find about this error, and tried other solutions (like the
>> perl-dependencies losed, or reinstallation of someones -CGI::Session and
>> anothers-). I can see, in the koha log file this:
>>
>> [Mon Dec 01 18:33:45 2008] [error] [client 127.0.0.1] [Mon Dec  1
>> 18:33:45 2008] opac-main.pl: BEGIN failed--compilation aborted
>> at /var/www/html-virtuals/koha/opac/cgi-bin/opac/opac-main.pl line 22.
>>
>> the line 22 of opac-main.pl contains:
>>
>> use C4::Auth;    # get_template_and_user
>>
>> and the same error when i entered in koha-intranet, and the line of the
>> error is similar (when reference to C4::***)
>>
>> I check the variable PERL5LIB in apache configuration, and it's ok:
>>
>> SetEnv KOHA_CONF "/etc/koha/koha-conf.xml"
>> SetEnv PERL5LIB "/var/www/html-virtuals/koha/lib"
>>
>> inside each VirtualHost (OPAC and intranet)
>>
>> When I test all the possible (failed) solutions, I have SELinux and
>> firewall disabled (to avoid problems)
>>
>> Someone know what is the problem (or can be)??
>>
>> thanks!!
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20081202/fc333f63/attachment-0002.htm 


More information about the Koha mailing list