Re: [Speedycgi-users] Nevermind - my bad :-\ (Re: "Cranky" SpeedyCGI(???))
Brought to you by:
samh
|
From: Sam H. <sa...@da...> - 2003-07-27 02:56:53
|
You should see perl errors logged in the Apache error log. > Dear SpeedyCGI users and developers, > > Oops!! Sorry about that! I made one change too many in my configuration > objects and tried to call methods on an undefined object. The > speedy_backend had a right to choke!! > > Is there some place where errors like this are logged? Of course this > was code called only from the SpeedyCGI version of Penguin Greetings - > otherwise it would have crashed and burned far more "vocally" :-) > > Peace, Edouard :-) > > > ================================== > Edouard Lagache > Lead Developer, Penguin Greetings > http://pgreet.sourceforge.net/ > pgr...@ca... > > ============================================ > Edouard Lagache <lag...@ca...> wrote at Thu, 3 Jul 2003 13:44:31 -0700 > > >Dear SpeedyCGI users and developers, > > > >First, thank you to Sam Horrocks and everyone else who has gotten > >SpeedyCGI up and running. It is a great tool!! > > > >However, ... :-) having gotten my ecard application (Penguin Greetings) > >working SpeedyCGI for about 2 months now, I've run into a strange > >problem. I'm in the process of moving code into some Perl module > >libraries, and strangely, SpeedyCGI is acting like a sputtering car. The > >first attempt to invoke SpeedyCGI will fail with a "Premature ending of > >script headers" error for the browser and absolutely nothing in the http/ > >error_log besides that. Yet, if you involve the script a second time, it > >appears to run fine except that some of the initialization that should > >have been done on the first invocation was never done. > > > >I have fallen to the "last resort" strategy of using CGI::Carp and > >putting warnings everywhere. The top of my program is essentially this: > > > > #!/usr/bin/speedy -- -M20 -gpgreet > > use CGI::SpeedyCGI; > > use CGI qw(:standard escape); > > use CGI::Carp; > > warn "Just after CGI::Carp"; > > > >The warn statement is never printed on the first invocation, but is in > >subsequent runs. > > > >Has anyone run into a problem like this? Any thoughts on how to debug > >this sort of "crankyness?" > > > >Thanks in advance! > > > >Peace, Edouard :-) > > > >P.S. Yes, the program runs fine in straight CGI. > >================================== > >Edouard Lagache > >Lead Developer, Penguin Greetings > >http://pgreet.sourceforge.net/ > >pgr...@ca... > > > > > > > > > >------------------------------------------------------- > >This SF.Net email sponsored by: Free pre-built ASP.NET sites including > >Data Reports, E-commerce, Portals, and Forums are available now. > >Download today and enter to win an XBOX or Visual Studio .NET. > >http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > >_______________________________________________ > >Speedycgi-users mailing list > >Spe...@li... > >https://lists.sourceforge.net/lists/listinfo/speedycgi-users > > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Speedycgi-users mailing list > Spe...@li... > https://lists.sourceforge.net/lists/listinfo/speedycgi-users > |