Hi
I'm using RedHat6.2 + mod_perl 1.21 + perl 5.005_003 + Apache 1.3.12 (all
instaled with RH6.2) + X (gnome + kde). I instaled Oracle 8.1.6 + modles
Hires + DBI 1.14 + DBD-Oracle 1.06.
I write simple script :
#!/usr/bin/perl
use DBI;
my ( $inst, $user, $pass, $dbh);
print "Content-type:
Hi there,
On Fri, 26 Jan 2001, Irek wrote:
When I started this script in httpd in mod_perl like
http://_adres_/mod-perl/ora_test.cgi script writes only POINT1 !!
Have you looked in the error_log?
73,
Ged.
Are you thinking about httpd log ?
After restart httpd:
/var/log/httpd/access_log:
193.59.181.45 - - [26/Jan/2001:11:12:29 +0100] "GET /cgi-bin/ora_test.cgi
HTTP/1.1" 200 60
193.59.181.45 - - [26/Jan/2001:11:12:39 +0100] "GET /mod-perl/ora_test.cgi
HTTP/1.1" 200 28
/var/log/httpd/error_log:
/var/log/httpd/error_log:
[Fri Jan 26 11:12:16 2001] [notice] Apache/1.3.12 (Unix) (Red Hat/Linux)
PHP/3.0.15 mod_perl/1.21 configured -- resuming normal operations
empty
What else ???//
Regards
Irek Smaczny
If you have RaiseError = 1 in your DBI-connect() you will
get
-Original Message-
From: Irek [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 6:52 AM
To: mod_perl list
Subject: Re: Can't connect to Oracle in mod_perl
Use of inherited AUTOLOAD for non-method DBD::Oracle::ORA_OCI() is
deprecated at
/usr/lib/perl5/site_perl
Could you help me with this sollution ?
I understand, that I must change Makefile.PL line
$::opt_b = 1
to
$::opt_b = 0
It is correct ? (and install again)
Regards
Irek Smaczny
Yes, now it is OK
THANK YOU !!
THX :-)))
Regards
Irek Smaczny