This means you haven't installed HTML::Template::Pro (or haven't done it in a location where Koha can find it). <br>--Joe<br><br><div class="gmail_quote">On Tue, Dec 2, 2008 at 12:53 PM, 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>
<p><font face="Arial" size="2">Permissions checked, all good (in koha files and
configs)</font></p>
<p><font face="Arial" size="2">I set PERL5LIB and KOHA_CONF, <span>inside "/var/www/html-virtuals/koha/lib"
folder</span><span> I run</span>:</font></p>
<p></p><div class="Ih2E3d"><font size="2"><font face="Arial"># perl -wc C4/Auth.pm</font><br></font></div><font color="#0000ff" face="Arial" size="2"><font color="#000000">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.<br>BEGIN
failed--compilation aborted at C4/Output.pm line 33.<br>Compilation failed in
require at C4/Auth.pm line 30.<br>BEGIN failed--compilation aborted at
C4/Auth.pm line 30.</font><br></font>
<p><span><font face="Arial" size="2">What means this
error?</font></span></p></div>
<blockquote style="margin-right: 0px;">
<div></div>
<div dir="ltr" align="left" lang="es"><font face="Tahoma" size="2">-----Mensaje original-----<br><b>De:</b> Joe Atzberger
[mailto:<a href="mailto:ohiocore@gmail.com" target="_blank">ohiocore@gmail.com</a>] <br><b>Enviado el:</b> martes, 02 de diciembre de
2008 17:03<br><b>Para:</b> Iago Lorenzo Salgueiro<br><b>CC:</b>
<a href="mailto:koha@lists.katipo.co.nz" target="_blank">koha@lists.katipo.co.nz</a><br><b>Asunto:</b> Re: [Koha] production mode - trapped
fatal error<br><br></font></div><div><div></div><div class="Wj3C7c">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" target="_blank">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></div></div></blockquote></div>
</blockquote></div><br>