Getting DBI working during the server life cycle

2010-01-23 Thread Boysenberry Payne
Hello, I'm trying to connect to my postgresql database using the DBI - Apache::CBI - DBD::Pg combination of modules. I'm having trouble understanding Apache::DBI usage as it pertains to https pre request server life cycle, in particular during the OpenLogs stage. My trouble comes from an error

Re: Getting DBI working during the server life cycle

2010-01-23 Thread Adam Prime
Boysenberry Payne wrote: Hello, I'm trying to connect to my postgresql database using the DBI - Apache::CBI - DBD::Pg combination of modules. I'm having trouble understanding Apache::DBI usage as it pertains to https pre request server life cycle, in particular during the OpenLogs stage. My

Re: Getting DBI working during the server life cycle

2010-01-23 Thread Boysenberry Payne
I wasn't sure how to do the path mentioned in the link so I just manually edited the Apache::DBI file and added the eval around the line requesting Apache2::RequestRec and it seems to work now. Thanks for the heads up. All of the literature I have mentions Apache::DBI for use with mod_perl. I