PHP 4.0 Bug #6044: odbc_connect() returns with very strange error message (pointer error?)

From: Date: Wed, 09 Aug 2000 09:41:55 +0000
Subject: PHP 4.0 Bug #6044: odbc_connect() returns with very strange error message (pointer error?)
Groups: php.dev 
Request: Send a blank email to php-dev+get-28226@lists.php.net to get a copy of this message
From: ltning@anduin.net Operating system: RedHat Linux 6.2 PHP version: 4.0.1pl2 PHP Bug Type: ODBC related Bug description: odbc_connect() returns with very strange error message (pointer error?) I have compiled PHP with DB2 support (--with-ibm-db2), and have installed the IBM DB2 Connect package to connect to the "real" DB2 server. When trying to call the odbc_connect() function, I get something like this: Warning: SQL error: , SQL state  R@D¶àöÿ¿§R@ in SQLConnect in /usr/local/apache/htdocs/index.phtml on line 2 or something similiar. This looks to me like some kind of pointer error? It is very very hard to get any kind of help with PHP and DB2 anywhere, so I hope you can assist me with this ASAP. Already spent days and weeks on this, and time is running short... Thanks in advance, Eirik Overby Freepoint Networks GmbH Germany

« previous php.dev (#28226) next »