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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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-2025 The PHP Group
All rights reserved.
Last updated: Mon Jan 13 22:01:29 2025 UTC