Dmitry Netis [EMAIL PROTECTED] 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.

Reply via email to