[Koha] production mode - trapped fatal error

Joe Atzberger ohiocore at gmail.com
Wed Dec 3 05:02:55 NZDT 2008


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/f835c8a7/attachment.htm 


More information about the Koha mailing list