On Tue, 24 Feb 2004, Kevin Moore wrote:

> [Tue Feb 24 18:11:31 2004] [error] [client 192.168.1.3] Can't locate 
> Apache/Constants.pm in @INC (@INC contains: 

I reckon you don't have Apache::Constants in @INC :)  
Apache::Constants was replaced by Apache::Const in apache 2.0

> use Apache;
> use Apache::DBI;
^^^ 
You would not either of those two unless you are running under
mod_perl, but from the looks of your script, I would have to surmise that
you are running under straight CGI.


And from the Apache::DBI docs:

MOD_PERL 2.0

Apache::DBI version 0.90_02 and later might work under mod_perl 2.0. See 
the Changes file for more information. Beware that it has only been tested 
very lightly.
==========================

So you probably do not want to be running Apache::DBI anyway.

HTH,

Rudy


Reply via email to