Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.12.3

Bug #3850 DB/oci8.php line 128
Submitted: 2005-03-16 21:12 UTC
From: proman at ing dot uchile dot cl Assigned: danielc
Status: Bogus Package: DB
PHP Version: 4.3.6 OS: linux 2.4.22
Roadmaps: (Not assigned)    
Subscription  


 [2005-03-16 21:12 UTC] proman at ing dot uchile dot cl
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

Comments

 [2005-03-16 21:25 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!