Re: DBI problem

2005-07-07 Thread Niklas Saers
Hi again, Tom, no problem running it as a CGI: Include: /usr/local/lib/perl5/site_perl/5.8.7/mach;/usr/local/lib/perl5/site_perl/5.8.7;/usr/local/lib/perl5/site_perl;/usr/local/lib/perl5/5.8.7/BSDPAN;/usr/local/lib/perl5/5.8.7/mach;/usr/local/lib/perl5/5.8.7;. Loaded Libs: warnings/register.pm;C

Re: DBI problem

2005-07-07 Thread Niklas Saers
Forgot to post to the list. A little thing I forgot in the private mail, adding "PerlModule Apache::DBI DBD::Mysql" in my httpd.conf gave me the following warning: [error] Can't locate object method "require_version" via package "DBI" (perhaps you forgot to load "DBI"?) at /usr/local/lib/perl5/sit

Re: DBI problem

2005-07-07 Thread Niklas Saers
Hi guys, thank you very much for helping out. :-) John, I have installed the modules and the script runs when running it as a CGI. What I don't know is if the driver has been installed for mod_perl as I don't know how much mod_perls include paths differ from regular perl. Could you tell me how I f

DBI problem

2005-07-06 Thread Niklas Saers
Dear All, I'm trying out mod_perl and I've been running into problem. The perl script below works fine as a CGI from Apache. But when running it through mod_perl, I get: [error] Can't locate object method "connect" via package "DBI" (perhaps you forgot to load "DBI"?) at /home/ab1/test5.pl line 5.