Searched this list, dbiusers, and a bunch more.    I'm not sure if its
something so dump it's never discussed or what.   There is no error message
returned, it just goes back to the httpd 403 error screen.   I've added a
print statement in the middle of the connect and had it print to the screen
and it looks the same rather I'm in Perl or via Mod_perl.  Here is the
result from the print: "dbi:mysql:its,helpman,secret01,HASH(0xaf798b4)"
Looks like it should work, but nothing seems to be  returned from the
"return DBI->connect($dsn,$user,$password,$options)" statement.

John

----- Original Message -----
From: "Perrin Harkins" <[EMAIL PROTECTED]>
To: "John Mulkerin" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, March 19, 2001 11:34 PM
Subject: Re: Problem with Tie::DBI and DBI in modperl


> On Mon, 19 Mar 2001, John Mulkerin wrote:
> > I'm trying to use the plain vanilla TicketTool.pm from O'Reilly's mod
> > perl book, Apache Modules with Perl and C.  It uses Tie::DBI to create
> > a hash of the mysql connection.  When I run just the authentication
> > subroutine with Perl -d "authenticate.pm" it runs fine.  Whe I run it
> > as part of the web server, it fails in the connect statement in the
> > Tie:DBI routine.
>
> What is the exact error message?  Have you tried searching the mailing
> list archive for that message?  Are you using PHP in your server?
>
> - Perrin
>

Reply via email to