ID: 39523 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: InterBase related Operating System: Redhat Linux RHEL4 PHP Version: 5.2.0 New Comment:
This is the error message that returns via a PHP warning: PHP Warning: Unknown: Unable to complete network request to host "*snipped*". Error writing data to the connection. Broken pipe in Unknown on line 0 Previous Comments: ------------------------------------------------------------------------ [2006-11-15 10:55:09] [EMAIL PROTECTED] Busy making a stripped down test case. ------------------------------------------------------------------------ [2006-11-15 10:22:27] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2006-11-15 10:18:26] [EMAIL PROTECTED] Description: ------------ Using the interbase/firebird database, when using persistent connections, it does not reconnect to the database when the link is dropped (leased-line goes down / manually killing the firebird server process on the database server). It just returns the database link to a dead connection. Using a DB wrapper / ibase_pconnect natively, they both have the same problem. Reproduce code: --------------- Mail me for the source code. Expected result: ---------------- A new link should be established prior to returning the persistent connection. Actual result: -------------- $result->getMessage() returns "DB Error: unknown error" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39523&edit=1