Bug #3850 [NEW]: DB/oci8.php line 128

From: Date: Wed, 16 Mar 2005 21:12:57 +0000
Subject: Bug #3850 [NEW]: DB/oci8.php line 128
Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-3973@lists.php.net to get a copy of this message
From: proman at ing dot uchile dot cl Operating system: linux 2.4.22 PHP version: 4.3.6 Package: Bug System Bug Type: Bug Bug description: DB/oci8.php line 128 Description: ------------ Dear DB people, we have upgraded recently the DB pear version to (1.7.0), then all the system fall down. With a no conection error. I found that the problems appear near line 129: if (function_exists('oci_connect')) { if (isset($dsn['new_link']) && ($dsn['new_link'] == 'true' || $dsn['new_link'] === true)) { $connect_function = 'oci_new_connect'; } else { $connect_function = $persistent ? 'oci_pconnect' : 'oci_connect'; } $char = empty($dsn['charset']) ? null : $dsn['charset']; $this->connection = @$connect_function($dsn['username'], $dsn['password'], $dsn['database'], <----- here maybe a hostspec could solve the problem $char); we was solved hidding all the if (function_exists) block. Is this correct or where are lost in space? Thx in advance Reproduce code: --------------- any DB conect -- Edit bug report at http://pear.php.net/bugs/bug.php?id=3850&edit=1 --

« previous php.pear.webmaster (#3973) next »