#25206 [NEW]: ifx_connect(): E [SQLSTATE=IX 000 SQLCODE=-461

From: Date: Fri, 22 Aug 2003 09:19:30 +0000
Subject: #25206 [NEW]: ifx_connect(): E [SQLSTATE=IX 000 SQLCODE=-461
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-46477@lists.php.net to get a copy of this message
From: jkshin at naver dot com Operating system: Linux8.0 PHP version: 4.3.2 PHP Bug Type: Informix related Bug description: ifx_connect(): E [SQLSTATE=IX 000 SQLCODE=-461 Description: ------------ RedHat8.0 + php-4.3.2 + apache_1.3.20 + informix7.3.0 informix user can dbaccess. please help me !! Reproduce code: --------------- <html> <?php $database = "test"; $host = "db"; $user = "informix"; $pass = "informix"; if (!$connect_id = ifx_connect("$database@$host", $user, $pass)) { echo "Unable to connect to Informix Database\n"; exit(); } $sql = "select customer, quantity from order"; $result = ifx_query($sql, $connect_id) or die ("couldn't execute the query"); ?> <table> <tr> <?php while ($row = ifx_fetch_row($result)) { echo "<td>".$row['customer']."</td>"; echo "<td>".$row['quantity']."</td>\n"; } ifx_free_result($result); ifx_close($connect_id); ?> </tr> </table> </html> Expected result: ---------------- Warning: ifx_connect(): E [SQLSTATE=IX 000 SQLCODE=-461] in /usr/local/apache/htdocs/aaa.php3 on line 7 -- Edit bug report at http://bugs.php.net/?id=25206&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25206&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25206&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25206&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25206&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25206&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25206&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25206&r=support Expected behavior: http://bugs.php.net/fix.php?id=25206&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25206&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25206&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25206&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25206&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25206&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25206&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25206&r=gnused

« previous php.bugs (#46477) next »