php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7173 Invalid IFX link resource
Submitted: 2000-10-13 01:18 UTC Modified: 2001-11-14 06:37 UTC
From: dat at nstc dot nec dot com dot au Assigned:
Status: Closed Package: Informix related
PHP Version: 4.0.3 OS: Solaris 2.6
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dat at nstc dot nec dot com dot au
New email:
PHP Version: OS:

 

 [2000-10-13 01:18 UTC] dat at nstc dot nec dot com dot au
$link = ifx_connect ("web@venus","web","nec") || die ("Could not connect");
$qstr = "SELECT Name, Email, Extension FROM tabStaff";
$result = ifx_query($qstr,$link);
...

Warning: Supplied argument is not a valid IFX link resource in /opt/local/apache/htdocs/test/sysadmin/staff/nstc_staff.php on line 10

I also tried with 
$result = ifx_query($qstr,$link,0,0);

but no luck.

Here how I built PHP4.0.3:
configure --with-informix=/opt/informix --with-xml --with-apache=../apache_1.3.12 --enable-track-vars

no /usr/local/lib/php.ini

Informix IDS 7.31, CSDK 2.40, gcc 2.8.

However, the same code works fine with Apache 1.3.12, PHP 3.0.16 and Informix IDS 7.31.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-23 11:32 UTC] sniper@php.net
Does this happen with latest CVS snapshot from http://snaps.php.net/ ?

 [2001-11-14 06:37 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 10:01:29 2024 UTC