RE: [mp1] intermittant pnotes error

2006-03-13 Thread Adam Prime x443
I'll look into mod_log_forensic, thanks. If it is restricted to the process then I can at least keep it from generating a long series of errors by killing the child whenever the error is detected. Adam -Original Message- From: Perrin Harkins [mailto:[EMAIL PROTECTED] Sent: Monday, M

RE: [mp1] intermittant pnotes error

2006-03-13 Thread Perrin Harkins
On Mon, 2006-03-13 at 15:41 -0500, Adam Prime x443 wrote: > this is the the conf for that particular case of the error: > > > SetHandler perl-script > PerlHandler StrategyV2::Careers > Looks okay. > I don't really understand method handlers and their applications, and >

RE: [mp1] intermittant pnotes error

2006-03-13 Thread Adam Prime x443
I'll put in some warning stuff in the more common places that the error has occured this is the the conf for that particular case of the error: SetHandler perl-script PerlHandler StrategyV2::Careers I don't really understand method handlers and their applications, and

Re: Modperl2 question

2006-03-13 Thread Boysenberry Payne
Since we're on the subject of CGI vs libapreq. I've moved to using Apache2::Request and APache2::Cookie with no problems. Now I'm wondering if there isn't an equivalent for the rest of what CGI.pm offers. In particular, I wondering about it's html tag output. Are there any Apache2 equivalent

RE: [mp1] intermittant pnotes error

2006-03-13 Thread Perrin Harkins
On Mon, 2006-03-13 at 15:57 -0500, Adam Prime x443 wrote: > The thing the puzzles me the most is that everything runs fine 99.9% > of the time. I'm kind of at a loss about what I should even log aside > from the process_id. You should log what $r is, since it isn't what you thought it was. You m

Re: Where's M_HEAD?

2006-03-13 Thread William A. Rowe, Jr.
Tyler MacDonald wrote: My question is why HEAD == M_GET and not HEAD == M_HEAD. :-) It's not a problem or anything, it just seems odd and I'm curious. I guess I'll subscribe to Yet Another Mailing List and ask the httpd developers themselves. ;-) They are identical in terms of preparin

RE: [mp1] intermittant pnotes error

2006-03-13 Thread Adam Prime x443
The thing the puzzles me the most is that everything runs fine 99.9% of the time. I'm kind of at a loss about what I should even log aside from the process_id. i'm curious if it's something that comes up in one particular child and causes a bunch of errors until that child dies, or if it's som

Re: Modperl2 question

2006-03-13 Thread Sean Davis
On 3/13/06 3:07 PM, "Boysenberry Payne" <[EMAIL PROTECTED]> wrote: > Since we're on the subject of CGI vs libapreq. I've moved to using > Apache2::Request > and APache2::Cookie with no problems. Now I'm wondering if there > isn't an equivalent > for the rest of what CGI.pm offers. In partic

Re: [mp1] intermittant pnotes error

2006-03-13 Thread Perrin Harkins
On Mon, 2006-03-13 at 11:00 -0500, Adam Prime x443 wrote: > The code that causes this error (in this example anyway, it has > happened on practically every package) is this: > > sub handler{ > my $r = shift; > my $req = Apache::Request->instance($r); > . > } Why don't you put some

Re: Where's M_HEAD?

2006-03-13 Thread Tyler MacDonald
Arne Skjaerholt <[EMAIL PROTECTED]> wrote: > Hi, > All the Apache constants are available in the Apache2::Const module. See > perldoc Apache2::Const for details on how to import symbols and so on. You know, I'm probably asking this question on the wrong list. :-) httpd-2.0.53/incl

Re: Problem with perl sections + @Include + Options statement

2006-03-13 Thread Torsten Foertsch
On Monday 13 March 2006 18:45, Bjørn Erik Jacobsen wrote: > Syntax error on line 233 of /data/apps/apache2/conf/httpd.conf: > $parms->add_config() has failed: Option Indexes not allowed here at > /usr/local/lib/perl5/site_perl/5.8.7/i386-freebsd/Apache2/PerlSections > .pm line 203.\n Is this Apach

Problem with perl sections + @Include + Options statement

2006-03-13 Thread Bjørn Erik Jacobsen
Hello, I seem to have a rather strange problem when using Perl sections in httpd.conf to load extra config files. Including files the normal way works fine, but when including the same file using @Include in a Perl section, it chokes on the "Options ..." keyword (see included error message below).

[mp1] intermittant pnotes error

2006-03-13 Thread Adam Prime x443
I have this problem where we get a series of errors like this: [Sun Mar 12 16:29:23 2006] [error] Can't locate object method "pnotes" via package "StrategyV2::Careers" at /usr/lib/perl5/site_perl/5.8.5/i686-linux/Apache/Request.pm line 36.\n but where the package changes depending on what page

Re: Persisting data across handlers

2006-03-13 Thread Tom Schindl
Well the problem is that at this point haven't got any connection/request hence no pnotes. Tom Foo Ji-Haw wrote: > Philippe M. Chiasson wrote: > >> Vipul Ved Prakash wrote: >> >> >>> Thanks, Philippe. For some reason I thought I had to use Apache's >>> memory management abstractions for this.