Re: DBI package installed but 'not loaded'?
From: Hardy Merrill (hmerrill_at_redhat.com)
Date: 11/24/03
- Next message: Tim Bunce: "Re: Transactions, eval, local and confusion"
- Previous message: Wiggins D Anconia: "Re: Transactions, eval, local and confusion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 24 Nov 2003 16:54:54 -0500 To: Dmitry Netis <dnetis@globespanvirata.com>
Dmitry Netis [dnetis@globespanvirata.com] wrote:
> Hi,
>
> I have mySQL 4.0 and Apache 2.0 with ActivePerl (Windows 200).
> Apache executes Perl CGI but has trouble connecting to mysql through DBI.
> I have following drivers installed in Perl:
> DBI [1.14]
> DBD-mysql [1.2212]
> I get the following error when I try to execute test_dbi.pl. Any clues? Thanks.
> [Fri Nov 21 22:03:51 2003] [error] [client xxx] Premature end of script headers: test_dbi.pl
> [Fri Nov 21 22:03:51 2003] [error] [client xxx] Can't locate object method "connect" via package "DBI" (perhaps you forgot to load "DBI"?) at C:/Program Files/Apache Group/Apache2/cgi-bin/test_dbi.pl line 13.
Paste in your test_dbi.pl script if it's not too long - I'm
pretty sure that someone here can help you by looking at your
script.
-- Hardy Merrill Red Hat, Inc.
- Next message: Tim Bunce: "Re: Transactions, eval, local and confusion"
- Previous message: Wiggins D Anconia: "Re: Transactions, eval, local and confusion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]