[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: Re: Startup script throwing error about $r when it shouldn't
From: "Philip M. Gollucci" <pgollucci () p6m7g8 ! com>
Date: 2006-07-22 7:53:01
Message-ID: 44C1D95D.9080209 () p6m7g8 ! com
[Download RAW message or body]
> 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 (pgollucci@p6m7g8.com) 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."
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic