[cgiapp] [announce] OO MVC jumpstart/starter application

Richard Jones ra.jones at dpw.clara.co.uk
Sat Dec 20 05:55:54 EST 2008


rpnoble wrote:
> Mark;
> 
> I have tried to install your sample application using Xampp on Windows XP. I
> have installed perl 5.8.8. When I run your sample application from my
> browser i get the following error:
> 
> 
> Died at C:/xampp/perl/lib/base.pm line 91.
> BEGIN failed--compilation aborted at ../../app1_private/modules/MyMain.pm
> line 5.
> Compilation failed in require at C:/xampp/cgi-bin/app1/main.cgi line 10.
> BEGIN failed--compilation aborted at C:/xampp/cgi-bin/app1/main.cgi line 10.

I had a similar experience, and found that CGI::Carp qw(fatalsToBrowser) 
was masking the fact that I didn't have CAP::Config::Simple in my @INC. 
I got:

Died at /usr/share/perl/5.8/base.pm line 84.
BEGIN failed--compilation aborted at 
/home/raj/www/apps/Test/app1_private/modules/MyMain.pm line 5.

When I commented out CGI::Carp qw(fatalsToBrowser) I was able to see the 
problem and fix it. Not sure if your issue is the same (different line 
in base.pm - might be a different version), but I would suggest trying 
to disable CGI::Carp and see what errors you get in the console.

I also had a problem involving storable - Storable binary image v18.68 
more recent than I am (v2.7) - caused by sharing the test db with 
another app which was using the same sessions table but (iirc) using a 
different serializer. Anyway, it cleared when I removed all previous 
sessions. Just thought I'd mention it in case anyone else gets hit by this.
-- 
Richard Jones


More information about the cgiapp mailing list