On Mon, 2007-09-10 at 18:57 +0100, Tim Bunce wrote:
> On Tue, Sep 11, 2007 at 12:47:58AM +1000, Brett Randall wrote:
> > Does anyone have any suggestions how I can debug this further and figure
> > out why I cannot get it working?
>
> Check the above. Then check $dbh->{Profile} is true.
Hi Tim
Thanks for your reply. I've set the script to tell me after a database
connection what is in $dbh->{Profile} and it is empty.
I haven't actually told you how I'm using mod_perl 2. In my apache.conf
file I have a virtual host. Inside that virtual host I define all my
mod_perl handlers with:
PerlModule ORS::Admin::Email::Admins
<Location /admin/email/admins>
SetHandler perl-script
PerlResponseHandler ORS::Admin::Email::Admins
</Location>
So I don't actually run scripts as such, I just have a lot of
PerlResponseHandlers for each Location. Will this affect anything to do
with DBI::ProfileDumper::Apache? Also I've grep'd through all my code
and I definitely don't load either the DBI::ProfileDumper::Apache module
or DBD::mysql module anywhere.
Thanks for any assistance you can give!
--
Brett Randall
InterPlanetary Solutions