ID: 14328 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: InterBase related Operating System: Linux Red Hat 7.1 PHP Version: 4.0.6 New Comment:
The version of PHP that this bug was reported in is too old. Please try the php-4.2.0RC3 from http://www.php.net/~derick/ If you are still able to reproduce the bug, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Previous Comments: ------------------------------------------------------------------------ [2001-12-03 14:58:23] [EMAIL PROTECTED] This may can't be exactly a bug, maybe you can consider it as a not implemented feature (I'm not sure about it). Well, when I'm triying to handle error generated by any Interbase function, it doesn't work. When I try the same with a MySQL function all goes ok. I'm interested in show my own error messages but it's imposible to handle any error generated by Interbase function. I have tried with error_handling(0), with the @ operator before the function, putting error_handling to 0 and ~E_ALL in PHP.INI but Interbase function always returns it own error message. For example I have this code in a object constructor: $this->IBConnection = @ibase_connect($this->SQLEDatabase, $this->SQLEUser, $this->SQLEPass, 'NONE', '0', '3'); if (!$this->IBConnection) trigger_error("No se pudo conectar con la base de datos", E_USER_ERROR); Then, it first shows me the default error message and then my own generated error message... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=14328&edit=1