Bug #10181 Updated: odbc_result causes Unexpected network read error
| From: | kalowsky@php.net | Date: | Thu, 21 Jun 2001 15:20:57 +0000 |
| Subject: | Bug #10181 Updated: odbc_result causes Unexpected network read error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57547@lists.php.net to get a copy of this message | ||
ID: 10181
Updated by: kalowsky
Reported By: f.schneider@de-bleek.demon.nl
Old-Status: Open
Status: Feedback
Bug Type: ODBC related
Operating system:
PHP Version: 4.0.4pl1
Assigned To:
Comments:
best way to debug is to build as a CGI and set a break in the function you think might be causing
it. then run and step through the code.
Previous Comments:
---------------------------------------------------------------------------
[2001-06-13 09:03:53] f.schneider@de-bleek.demon.nl
Version 4.0.5 has exactly the same problem. Could this be a problem with type conversion? How should
I debug?
---------------------------------------------------------------------------
[2001-06-10 16:11:35] kalowsky@php.net
you can look in the ext/odbc/php_odbc.c file for what might
be causing this. the ext/odbc/php_odbc.h may also be of
some help.
also you might wish to try the 4.0.5 release of PHP, or
possibly the 4.0.6RCs (4.0.5 was in RC for a LONG time).
---------------------------------------------------------------------------
[2001-06-01 17:23:40] f.schneider@de-bleek.demon.nl
Hitting the refresh button on the browser will return different results each time. The number of
rows seems correct. It doesn't look like a problem with the drivers since they work fine with
Python or the test programm included with the driver. Could this be a problem with type casting?
Where should I look in the PHP source code?
---------------------------------------------------------------------------
[2001-05-02 05:08:20] f.schneider@de-bleek.demon.nl
Sorry about the incorrect library names. The details are:
the openlink odbc driver is oplodbc.so.1.0.0
the iodbc driver manager is libiodbc.so.2.0.12 as packaged with the openlink odbc sdk.
This morning I got the newest version 3.0.4 working of libiodbc. The driver is still the same
oplodbc.so.1.0.0 and libiodbc now has version libiodbc.so.2.1.3.
I still have the same problem!!
NB
It took me a while to figure out the odbc_connect has changed: Before I had to use:
$dsn = "DSN=qaddb";
if ($conn_id = odbc_connect("$dsn","","")) {
...
Now this has to be:
$dsn = "qaddb";
if ($conn_id = odbc_connect("$dsn","","")) {
...
---------------------------------------------------------------------------
[2001-05-01 14:50:13] f.schneider@de-bleek.demon.nl
This is with the odbclib 1.0.0 from the ODBC SDK and libiodbc 2.0.12 which is included with it. I am
trying to get the libiodc 2.1.3 working but did not succeed yet.
Frans
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10181&edit=2