RE: DBI works, but CGI + DBI bombs?

2002-05-17 Thread Jonathan Gines
Stephen, I have implemented the below logic from you, and it has at least shed alot of light on what my Apache webserver CGI environment sees. Although, I am fairly literate with DBI (specifically DBD::Sybase), unfortunately I'm not familiar enough with CGI to know which system variable is

Re: Fatal error: command failed for target 'perl.o'

2002-05-17 Thread Francis Yakin
Thanks Tim, I did what you suggested, and it works. It doesn't take that long. Again Thanks Francis Tim Carlson wrote: On Thu, 16 May 2002, Zachary Buckholz wrote: If so you will need to spend several hours installing third part GNU software to have a semi-functional system. Visit

RE: DBI works, but CGI + DBI bombs?

2002-05-17 Thread NYIMI Jose (BMB)
cgi-list or beginners-cgi At http://lists.perl.org/ José. -Original Message- From: Jonathan Gines [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 12:21 AM To: Stephen Keller; [EMAIL PROTECTED] Subject: RE: DBI works, but CGI + DBI bombs? Stephen, I have implemented

MyODBC drivers?

2002-05-17 Thread Mark
Hello, I just upgraded to DBI-1.18 on a FreeBSD 4.1 system. Do I need to upgrade MyODBC drivers too? Can someone please tell me whether the two are related? I am kinda new to the whole DBI thing. - Mark

Testing DB connection

2002-05-17 Thread Ho, Tony
Hi guys I have the following fragment of code for connecting to a sybase database. I need to detect whether or not the connection was successful. $dbh = DBI-connect(dbi:Sybase:server=$server;database=$db,$user,$password, \%attr); if (!$dbh) { print Database Connection Unsuccessful...\n; }

RE: :ODBC crashes on exit

2002-05-17 Thread Jeff Urlwin
I've seen that with the FoxPro driver and chalked it up to something that the specific driver was doing. I've never had a problem with SQL Server. I have had problems with Oracle's driver when passing NULL for an IN/OUT parameter, which I think is still a bug in DBD::ODBC. I'm sure it's not

Re: Problem with DBD(Oracle)

2002-05-17 Thread Jonathan Hughes
On Fri, May 17, 2002 at 09:39:06AM +0530, Nilanjan wrote: Hi Gurus, I have installed DBI and DBD(for Oracle) on HP-UX and am trying to use the same. But I get the following error when trying to execute any script useing DBI:

Re: Testing DB connection

2002-05-17 Thread Hardy Merrill
Ho, Tony [[EMAIL PROTECTED]] wrote: Hi guys I have the following fragment of code for connecting to a sybase database. I need to detect whether or not the connection was successful. $dbh = DBI-connect(dbi:Sybase:server=$server;database=$db,$user,$password, \%attr); if (!$dbh) {

RE: MyODBC drivers?

2002-05-17 Thread Scott T. Hildreth
Why don't you use DBI-1.21? Are you using DBD::mysql? If you are, it would be wise to recompile DBD::mysql with the new DBI. Why not upgrade to latest for both modules. On 17-May-2002 Mark wrote: Hello, I just upgraded to DBI-1.18 on a FreeBSD 4.1 system. Do I need to upgrade MyODBC

Re: Oracle.pm

2002-05-17 Thread Roland Lammel
Changelog is in the tar.gz for DBD::Oracle you downloaded. Or for the latest version at http://search.cpan.org/search?dist=DBD-Oracle see Changes Your best chance probably is DBI-trace(9) before connecting to track down the problem... Good Luck Cheers, Barbara Lindsey wrote: Yes - I did

Re: Oracle.pm

2002-05-17 Thread Barbara Lindsey
Yes - I did install the whole DBD _and_ DBI _and_ CGI modules. I built the DBD with the -8 option, since we are still on oracle7 and I read all the README files and instructions. I am not the sys admin at this shop, so I had to do all this locally and go into the server .pm files and start

Re: DBI works, but CGI + DBI bombs?

2002-05-17 Thread Jonathan Gines
Michael, Thanks!! That did the trick! v/r, Jonathan At 04:01 PM 5/16/02 -0700, Michael Peppler wrote: On Thu, 2002-05-16 at 13:59, Jonathan Gines wrote: Hello, I have 2 scripts below, where DBI is used in the former and DBI and CGI is used in the latter. The first script connects fine

HP-UX Compilation Issue(s)

2002-05-17 Thread kevin . l . dennis
Hi. I'm having an issue when I attempt to compile the DBI module (1.20) on my HP-UX box (11.00/PA-RISC). I'm using GCC (64/3.02.2001-11-14) but the Makefile is still trying to use CC! Any suggestions would be most appreciated. Thanks. # make cc -c -Ae -D_LARGEFILE_SOURCE

Re: DBD::CSV table joins ...

2002-05-17 Thread Sumit_Babu
Hello Jeff, I can't help unless I see the code that caused the error. Please show me the prepare statement (including the full SQL) for the line that caused the error. Thanks for your time. Sorry, I was using a previous version of SQL::Statement. Actually I had installed all the

install DBD-Oracle-1.09 failed

2002-05-17 Thread Francis Yakin
Hi DBI-users, I try to install DBD-Oracle-1.09 and it failed when I run make, perl Makefile.PL is okay I have perl 5.005.3 and DBI installed already(DBI-1.21) Any help really appreciated. Here is the output: bash-2.03# make mkdir blib mkdir blib/lib mkdir blib/lib/DBD mkdir blib/arch mkdir