[Templates] Apache::Template TT2 (Apache 2) and TT2Params
[prev]
[thread]
[next]
[Date index for 2004/10/08]
Hi,
I use Apache::Template for Apache2 from
http://www.modperlcookbook.org/~geoff/modules/experimental/
with Apache 2.0.52 / mod_perl 1.99.14-4 / libapreq2-2.03-dev
Everything works as expected until I add
TT2Params all
to my configuration. Restarting Apache gives me:
Can't locate Apache/Upload.pm in @INC (@INC contains:
/usr/lib/perl5/Apache2 /usr/share/perl5/Apache2 /etc/perl
/usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl /usr/local/lib/perl/5.8.3
/usr/local/share/perl/5.8.3 . /etc/apache2/ /etc/apache2/lib/perl) at
/usr/share/perl5/Apache2/Template/Service/Apache.pm line 50.\nBEGIN
failed--compilation aborted at
/usr/share/perl5/Apache2/Template/Service/Apache.pm line
50.\nCompilation failed in require at
/usr/share/perl5/Apache2/Apache/Template.pm line 37.\nBEGIN
failed--compilation aborted at
/usr/share/perl5/Apache2/Apache/Template.pm line 37.\nCompilation failed
in require at (eval 3) line 3.\n
If I remove the above line (use Apache::Upload) Apache restart works but
any template access results in:
[Fri Oct 08 11:32:42 2004] [error] [client 193.197.187.14] Can't locate
auto/Apache/Request/parms.al in @INC (@INC contains:
/usr/lib/perl5/Apache2 /usr/share/perl5/Apache2 /etc/perl
/usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl /usr/local/lib/perl/5.8.3
/usr/local/share/perl/5.8.3 . /etc/apache2/ /etc/apache2/lib/perl) at
/usr/share/perl5/Apache2/Template/Service/Apache.pm line 132\n
Any ideas?
Thomas
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
[Templates] Apache::Template TT2 (Apache 2) and TT2Params
Thomas Nagel 09:35 on 08 Oct 2004
|