problem with DB/oci8.php
| From: | Pablo Roman | Date: | Wed, 09 Mar 2005 23:40:42 +0000 |
| Subject: | problem with DB/oci8.php | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-17939@lists.php.net to get a copy of this message | ||
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
--
Atte
Pablo E. Román A.
-----------------
F: 6784248
Jefe de Desarrollo
Area de Desarrollo de Info Tecnologías
Escuela de Ingeniería y Ciencias
Universidad de Chile
-----------------
"Find the set of all sets that doesn't contain itself."
B. Russell