[jifty-devel] jifty trunk apache2/mod_perl2 ubuntu feisty, no luck

Jesse Vincent jesse at bestpractical.com
Mon Jul 16 13:58:35 EDT 2007


On Jul 14, 2007, at 6:58 PM, Matthew Lenz wrote:

> I saw that the last release or so added the modperl2 handler and  
> that it
> was tested using ubuntu feisty which is what i'm using as well.   
> from a
> default install of apache2 and modperl2 packages I did a:
> $ a2dissite default
> created a new site 'myapp' with the modified contents of the virual  
> host
> example in the jifty::script::modperl2 pod
>
> <VirtualHost *:80>
>     DocumentRoot /home/mlenz/MyApp
>     SetHandler perl-script
>     PerlHandler Jifty::Script::ModPerl2
> </VirtualHost>
>
> $ a2ensite myapp
> $ /etc/init.d/apache2 force-reload
>
> and I get an error about:
>
> ERROR - Can't locate MyApp/Action/Login.pm in @INC (@INC
> contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/ 
> 5.8.8
> /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
> /usr/local/lib/site_perl . /etc/apache2)
> at /usr/local/share/perl/5.8.8/Jifty/Web.pm line 530
>

Hm. I've never actually used the mod_perl2 handler.

> FATAL - view class error: Can't call method "form_field" on an  
> undefined
> value at /usr/local/share/perl/5.8.8/Jifty/View/Declare/Helpers.pm  
> line
> 259.
>
> The same app works fine with a bin/jifty server.  I assume that error
> has to do with the app requiring login to use the app (dispatcher).

Well, the easy way to test that is to disable the Login support and  
see what happens. does it fail?

> i've tried changing perms to www-data:www-data on the code etc but  
> still
> no luck.
>



> -Matt
>
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20070716/dabc0d49/PGP.pgp


More information about the jifty-devel mailing list