On Sun, 21 Aug 2005, Luke Meyer wrote:

Randy Kobes wrote:

For mod_perl 2, try the Apache-Template package at
  http://www.modperlcookbook.org/~geoff/modules/experimental/

Can't locate object method "new" via package "Apache::Request" (perhaps you forgot to load "Apache::Request"?) at /usr/lib/perl5/site_perl/5.8.6/Template/Service/Apache.pm line 121.

ITYM:
  $request = Apache2::Request->new($request);

That's right - it should be that.

However after changing that, I now get this:
/usr/sbin/httpd: symbol lookup error: /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto/APR/Request/Apache2/Apache2.so: undefined symbol: apreq_handle_apache2

Hmm... any ideas?

Do you have a
   LoadModule apreq_module modules/mod_apreq2.so
in httpd.conf (note that it's mod_apreq2.so, not
mod_apreq.so).

--
best regards,
randy

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to