[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Startup script throwing error about $r when it shouldn't


> sub request_cache {
>     if ($ENV{MOD_PERL}) {
use Carp;
confess shift;
>         require Apache2::RequestUtil;
> 316:    my $request = Apache2::RequestUtil->request;
>         my $cache = $request->pnotes();

tail -f error_log
apachectl restart

thats how....  I'm guessing there is some code not wrapped in a function that calls this function
which is getting sucked in at startup via a PerlModule, require, or use elsewhere.  At anyrate, the stack trace will
tell all.

grep -l request_cache *
Bugzilla/BugMail.pm
Bugzilla/Template.pm
Bugzilla.pm

grep request_cache * |wc -l
      38


-- 
------------------------------------------------------------------------
Philip M. Gollucci (suppressed) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.