Re: Apache2::DBI

2005-06-07 Thread Adam Kennedy
Indeed. All that might be needed is a small... =head1 COMPATIBILITY Apache::DBI is compatible with both the mod_perl 1 and mod_perl 2 APIs. ... somewhere very near the beginning of the POD. (personally I'd have it right after the synopsis and before the description). And I'd recommend this

Re: mod_perl app fails to load after browsing several pages

2005-06-07 Thread Stas Bekman
[diarmuid, please don't forget to Reply-All and CC the list on your follow ups] my $q = new CGI; my $action = 'SchoolWeb::Actions::' . ($q->param('action') || 'Index'); eval "use $action"; When you eval you need to check $@ for errors. See 'perldoc -f eval' for more information.

Re: mod_perl2 make test errors - Apache2::Const

2005-06-07 Thread Stas Bekman
Gokul P. Nair wrote: Thanks for the link Stas. I'm still stumped as what could be the problem though, because the version of perl i'm using i.e. v5.8.6 is statically linked as is evident from the output of this command: perl -V:useshrplib useshrplib='false'; In the future please always submit

Re: Docs/User Guide: code sample incorrect in "Input and Output Filters"?

2005-06-07 Thread Philippe M. Chiasson
Matt Hahnfeld wrote: > I was going through the filters documentation for mod_perl 2.0 here: > > http://perl.apache.org/docs/2.0/user/handlers/filters.html > > Under "All-in-one" filter, there's some source code for Dump.pm. Run > on my system under mod_perl 2.0.0 and Apache 2.0.54, it returns t

Re: mod_perl2 make test errors - Apache2::Const

2005-06-07 Thread Gokul P. Nair
Thanks for the link Stas. I'm still stumped as what could be the problem though, because the version of perl i'm using i.e. v5.8.6 is statically linked as is evident from the output of this command: perl -V:useshrplib useshrplib='false'; but then there is only one instance of libperl.a and there

Docs/User Guide: code sample incorrect in "Input and Output Filters"?

2005-06-07 Thread Matt Hahnfeld
I was going through the filters documentation for mod_perl 2.0 here: http://perl.apache.org/docs/2.0/user/handlers/filters.html Under "All-in-one" filter, there's some source code for Dump.pm. Run on my system under mod_perl 2.0.0 and Apache 2.0.54, it returns the following error: Can't locate

Re: MP2 PerlAccessHandler dir_config() error

2005-06-07 Thread Torsten Foertsch
On Tuesday 07 June 2005 18:47, John Ferrell wrote: > Can't locate object method "dir_config" via package "Apache2::RequestRec" > at /usr/local/apache2/mod_perl/Auth/GateKeeper.pm line 16.\n use Apache2::RequestUtil (); and it should work. Torsten pgpsmwvfv1yLi.pgp Description: PGP signature

Re: MP2 PerlAccessHandler dir_config() error

2005-06-07 Thread Geoffrey Young
John Ferrell wrote: > I am new to mod_perl. I am trying to test the PerlAccessHandler using the > Apache::GateKeeper package. However I am having trouble with the > dir_config() method. When I access the URL I get an error 500 and the > apache log shows: > > Can't locate object method "dir_co

MP2 PerlAccessHandler dir_config() error

2005-06-07 Thread John Ferrell
I am new to mod_perl. I am trying to test the PerlAccessHandler using the Apache::GateKeeper package. However I am having trouble with the dir_config() method. When I access the URL I get an error 500 and the apache log shows: Can't locate object method "dir_config" via package "Apache2::Reque

Re: [mp2] make test errors

2005-06-07 Thread Stas Bekman
William McKee wrote: Stas, It's been awhile, but I'm back to working on these tests under FreeBSD 5.3 with mp2. I'm using the current release (2.0.0) with Apache 2.0.54. The root of many of my problems appears to be how Apache is resolving my localhost address. Apparently FBSD resolves localhost

Re: mod_perl app fails to load after browsing several pages

2005-06-07 Thread Stas Bekman
diarmuid ryan wrote: Hi, I am having trouble with a modperl app i am currently developing. i browse a couple of pages and perform a few actions but after a short time i am getting a blank response from the server, see access log below, which indicates nothing in the bytes returned part. no error

Re: [MP2] Bug Report - Segfault when using Image::Magick

2005-06-07 Thread Stas Bekman
William McKee wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: When using Image::Magick (either 6.1.9.4 or 6.2.3) under mod_perl, the server segfaults. Used at the command line or under mod_cgi there are no errors. A core dump is attached. This

mod_perl app fails to load after browsing several pages

2005-06-07 Thread diarmuid ryan
Hi, I am having trouble with a modperl app i am currently developing. i browse a couple of pages and perform a few actions but after a short time i am getting a blank response from the server, see access log below, which indicates nothing in the bytes returned part. no errors show in the error log

Re: [MP2] Bug report - errors when compiling with MP_DEBUG flag

2005-06-07 Thread Stas Bekman
William McKee wrote: On Tue, Jun 07, 2005 at 09:34:29AM +1000, Stas Bekman wrote: William, as you can see from the source src/modules/perl/modperl_util.h #if defined(MP_TRACE) && defined(APR_HAS_THREADS) #define MP_TRACEf_TID "/tid 0x%lx" #define MP_TRACEv_TID (unsigned long)apr_os_thread_