Iago --<br><br>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<br><br>Make sure the permissions on your KOHA_CONF file allow it to be read by Apache.<br>
<br>--Joe<br><br><div class="gmail_quote">On Tue, Dec 2, 2008 at 3:28 AM, Iago Lorenzo Salgueiro <span dir="ltr"><<a href="mailto:ilorenzo@cetmar.org">ilorenzo@cetmar.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><font face="Arial" size="2"><span>Hi:</span></font></div>
<div><font face="Arial" size="2"><span> 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:</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span>"production mode -
trapped fatal error"</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span> 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:</span></font></div>
<blockquote dir="ltr" style="margin-right: 0px;">
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span>[Mon Dec 01 18:33:45 2008] [error] [client <a href="http://127.0.0.1" target="_blank">127.0.0.1</a>]
[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.</span></font></div></blockquote>
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span>the line 22 of opac-main.pl
contains:</span></font></div>
<blockquote dir="ltr" style="margin-right: 0px;">
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span>use C4::Auth; #
get_template_and_user</span></font></div></blockquote>
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span>and the same error when i entered in koha-intranet, and
the line of the error is similar (when reference to C4::***)</span></font></div>
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span>I check the variable PERL5LIB in
apache configuration, and it's ok:</span></font></div>
<blockquote dir="ltr" style="margin-right: 0px;">
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span>SetEnv KOHA_CONF "/etc/koha/koha-conf.xml"<br>SetEnv
PERL5LIB "/var/www/html-virtuals/koha/lib"</span></font></div></blockquote>
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span>inside each VirtualHost (OPAC and
intranet)</span></font> </div>
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span>When I test all the possible (failed) solutions, I have
SELinux and firewall disabled (to avoid problems)</span></font></div>
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span>Someone know what is the problem (or can
be)??</span></font></div>
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span></span></font> </div>
<div dir="ltr" style="margin-right: 0px;"><font face="Arial" size="2"><span>thanks!! <br></span></font></div></div></blockquote></div><br>