[Catalyst] Template rendering error under mod_perl

Bill Moseley moseley at hank.org
Fri Jun 29 14:52:11 GMT 2007


On Fri, Jun 29, 2007 at 02:20:23PM +0100, Richard Jones wrote:
> I didn't actually 'install' it as such, just copied the MyApp directory 
> under my /home folder, added the path/to/MyApp/lib to mod_perl's lib in 
> startup.pl file so it can find MyApp.pm, and re-started the server. It 
> looks like Catalyst _can_ find the 'home' directory, as it displays 
> correctly in the rather verbose 'Config' section of the screen dump:
>    home => '/home/raj/www/apps/MyApp',
> and directly under that is root/lib and root/src. I REALLY need to fix 
> this one or I'm sunk!

What debugging did you do?  Did you dump the INCLUDE_PATH?
Template::Provider also has some dubbing available.  Did you enable
that?  Have you tried making a local copy of Template::Provider in
your lib directory and throw in some warn statements?

-- 
Bill Moseley
moseley at hank.org




More information about the Catalyst mailing list