Re: Is Apache::DB still the way to interactively debug via MP2

2006-07-03 Thread Philip M. Gollucci
Boysenberry Payne wrote: I'm not very familiar with Apache on OSX, does it by default run setuid and/or setgid? Also are you running with taint on? There was an issue with Apache::SmallProf and Apache::DProf when running under taint mode, and I'm curious if it's also a problem for Apa

Re: Is Apache::DB still the way to interactively debug via MP2

2006-07-03 Thread Boysenberry Payne
I'm not very familiar with Apache on OSX, does it by default run setuid and/or setgid? Also are you running with taint on? There was an issue with Apache::SmallProf and Apache::DProf when running under taint mode, and I'm curious if it's also a problem for Apache::DB itself. Yes I do

Re: Is Apache::DB still the way to interactively debug via MP2

2006-07-03 Thread Frank Wiles
On Sun, 2 Jul 2006 11:25:27 -0500 Boysenberry Payne <[EMAIL PROTECTED]> wrote: > I little more info, the setgid error only happens on the first request > and only while debugging, as far as I can tell. > > Thanks, > Boysenberry > > boysenberrys.com | habitatlife.com | selfgnosis.com > > On Jul

Re: Is Apache::DB still the way to interactively debug via MP2

2006-07-02 Thread Boysenberry Payne
I little more info, the setgid error only happens on the first request and only while debugging, as far as I can tell. Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Jul 2, 2006, at 8:35 AM, Boysenberry Payne wrote: That fixed the print issue but I'm still getting

Re: Is Apache::DB still the way to interactively debug via MP2

2006-07-02 Thread Boysenberry Payne
That fixed the print issue but I'm still getting the following error: Insecure $ENV{PATH} while running setgid at /Library/Perl/5.8.1/darwin-thread-multi-2level/Term/ReadKey.pm line 334.\nCompilation failed in require at /Library/Perl/5.8.1/Term/ReadLine/Perl.pm line 63.\n How can I tell

Re: Is Apache::DB still the way to interactively debug via MP2

2006-07-01 Thread Philip M. Gollucci
Boysenberry Payne wrote: print vs $r->print still works. Is it better to use one over the other? If I change all of my $r->print statements to read print instead will I need to expect trouble? do you have this in the file in question ? use Apache2::RequestIO () use Apache2::RequestRec () just

Re: Is Apache::DB still the way to interactively debug via MP2

2006-07-01 Thread Boysenberry Payne
print vs $r->print still works. Is it better to use one over the other? If I change all of my $r->print statements to read print instead will I need to expect trouble? Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Jul 1, 2006, at 1:40 PM, Boysenberry Payne wrote:

Re: Is Apache::DB still the way to interactively debug via MP2

2006-07-01 Thread Boysenberry Payne
To clarify, I get the error now whether I debug or not. Until I started to debug I wasn't getting the error. I don't think I changed anything in my code to cause this though... Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Jul 1, 2006, at 1:37 PM, Boysenberry Payne

Re: Is Apache::DB still the way to interactively debug via MP2

2006-07-01 Thread Boysenberry Payne
I'm getting the following error only when I debug: Can't locate object method "print" via package "Apache2::RequestRec" at /Users/boysie/habitat/perl/modules/Habitat/Apache2/Template.pm line 69.\n Line 69: $r->print( $output ) if $output; Where $r is Apache2::RequestRec Any ideas? It was

Re: Is Apache::DB still the way to interactively debug via MP2

2006-06-30 Thread Boysenberry Payne
I'm not sure what your doing that you need to be running setgid though. Me either. Do any of these require setgid that you know of? use APR::Pool (); use Apache::DB (); Apache::DB->init(); use Apache::DBI (); use Apache2::Connection (); use Apache2::Const -compile => qw( OK REDIRECT FORBIDDEN

Re: Is Apache::DB still the way to interactively debug via MP2

2006-06-30 Thread Philip M. Gollucci
Boysenberry Payne wrote: That helped me get the Debugger working thank you. Now its cutting out with this error in the error log: [Fri Jun 30 17:55:23 2006] [error] [client 127.0.0.1] install_driver(mysql) failed: Insecure $ENV{PATH} while running setgid at /Library/Perl/5.8.1/darwin-thread-mu

Re: Is Apache::DB still the way to interactively debug via MP2

2006-06-30 Thread Boysenberry Payne
That helped me get the Debugger working thank you. Now its cutting out with this error in the error log: [Fri Jun 30 17:55:23 2006] [error] [client 127.0.0.1] install_driver(mysql) failed: Insecure $ENV{PATH} while running setgid at /Library/Perl/5.8.1/darwin-thread-multi-2level/Term/ReadKey.

Re: Is Apache::DB still the way to interactively debug via MP2

2006-06-30 Thread Philip M. Gollucci
Boysenberry Payne wrote: [notice] Apache::DB initialized in child 1441 Syntax error on line 74 of /Users/boysie/habitat/apache/conf/perl.conf: mod_perl is already running, too late for PerlSwitches I must be doing something wrong. I'm using the following: Apache/2.0.55 perl5 (revision 5.0 vers

Re: Is Apache::DB still the way to interactively debug via MP2

2006-06-30 Thread Boysenberry Payne
When I follow the example, using Apache2::Status instead of Apache::Status I get the following at the prompt: root# httpd -X -D PERLDB Processing config directory: /private/etc/httpd/users/*.conf Processing config file: /private/etc/httpd/users/boysie.conf Instead of the expected: [notice] Apa

Re: Is Apache::DB still the way to interactively debug via MP2

2006-06-30 Thread Perrin Harkins
On Fri, 2006-06-30 at 12:57 -0500, Boysenberry Payne wrote: > Are the instructions as: > Home / Documentation / 1.0 / mod_perl 1.0 User Guide / > Still valid for MP2? I can't find anything in the MP2 docs... The Apache::DB docs say it supports mod_perl 2. - Perrin

Is Apache::DB still the way to interactively debug via MP2

2006-06-30 Thread Boysenberry Payne
Are the instructions as: Home / Documentation / 1.0 / mod_perl 1.0 User Guide / Still valid for MP2? I can't find anything in the MP2 docs... Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com