[error] Can't locate object method "bootstrap" via package "DBI"

[prev] [thread] [next] [Date index for 2004/11/29]

From: Ray Chuan
Subject: [error] Can't locate object method "bootstrap" via package "DBI"
Date: 01:47 on 29 Nov 2004
Hi,
I have DBI 1.45, Apache 2.052 Win32, mod_perl 1.99_17, Perl 5.84. I get that 
error when working with DBI in the /perl dir of apache. works fine on 
cmd-line and cgi-bin.

Any comments are highly appreciated.
---------
#error.log
[error] Can't locate object method "bootstrap" via package "DBI" at 
F:/Net/Perl/site/lib/DBI.pm line 249.
BEGIN failed--compilation aborted at F:/Net/Perl/site/lib/DBI.pm line 256.
Compilation failed in require at (eval 7) line 8.
BEGIN failed--compilation aborted at (eval 7) line 8.
---------
#!F:/Net/Perl/bin/Perl.exe
##
##  Perl eg
use strict;
use DBI;

my $dbh = DBI->connect("DBI:mysql:webdb;localhost", "foo", "p", 
{PrintError=>0,RaiseError=>1});
$dbh->disconnect();

_________________________________________________________________
Get cheap fares online with MSN Travel http://www.msn.com.sg/travel/


        -- 
        Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

(message missing)

[error] Can't locate object method "bootstrap" via package "DBI"
Ray Chuan 01:47 on 29 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52