Problem with DBI

2000-08-14 Thread Daniel Martinez
Hi! I have apache 1.3.12 and the latest DBI running on Sparc Solaris 2.7. when i try to run an embedded perl script that makes use of the DBI i get the following error: ld.so.1: perl: fatal: relocation error: file /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBD/mysql/mysql.so: symbol

Re: wierd problem with DBI::trace(1) and Apache (mod_perl)

2000-01-18 Thread Henrik Tougaard
On Fri, 14 Jan 2000, Cere M. Davis wrote: I have found the weirdest problem with (I think) DBD::Ingres, DBI::trace() and Apache::DBI when the DBI::trace level is set to 1 or 0. I get an error in the Apache error_logs that says: unitialized value at

Problem accessing DBI from EmbPerl

1999-11-26 Thread Martin A. Langhoff
hi list, I'm running Embperl on my ISPs webserver, and when I execute the following code (from the sample included with Embperl): === $DSN = 'dbi:mysql:mlanghoff' ; $table = 'registros' ; use DBI ; # connect to database $dbh = DBI-connect($DSN, 'mlanghoff', 'ml123') or die "Cannot

Re: Newbie problem with DBI under modperl

1999-10-28 Thread Dan Mahoney
Hopefully you have a startup script you use to load various modules into the server memory. If so, could you add the following to it: BEGIN { $ENV{DBI_TRACE} = 2; } This will cause DBI and Apache::DBI (as the case may be) to put a LOT of information into the error file. This might

RE: Newbie problem with DBI under modperl

1999-10-28 Thread Young, Geoffrey S.
MTP:[EMAIL PROTECTED]] Sent: Thursday, October 28, 1999 10:05 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Newbie problem with DBI under modperl Hopefully you have a startup script you use to load various modules into the server memory. If so,

Re: Newbie problem with DBI under modperl

1999-10-28 Thread Dan Mahoney
try setting trace to level 6 for greater detail... BTW, you can also separate the trace output from your error_log via DBI-trace(6,"/path/to/trace.log"); from within your handler or script. Cool, I did that - thanks for the pointer! Of course, the output is even more mysterious now to my

RE: Newbie problem with DBI under modperl

1999-10-28 Thread Young, Geoffrey S.
AIL PROTECTED] Subject: Re: Newbie problem with DBI under modperl try setting trace to level 6 for greater detail... BTW, you can also separate the trace output from your error_log via DBI-trace(6,"/path/to/trace.log"); from within your handler or script. Cool, I did that

Newbie problem with DBI under modperl

1999-10-27 Thread Dan Mahoney
I've got a weird problem here involving DBI under mod_perl. I have a simple Perl script that works from the command line: - #!/usr/local/bin/perl use strict; use DBI; my ($dbh, $sth, $f, $head) = undef; $dbh = DBI-connect

Re: Newbie problem with DBI under modperl

1999-10-27 Thread James G Smith
Dan Mahoney [EMAIL PROTECTED] wrote: I've got a weird problem here involving DBI under mod_perl. [snip] Hopefully you have a startup script you use to load various modules into the server memory. If so, could you add the following to it: BEGIN { $ENV{DBI_TRACE} = 2; } This will cause DBI