FAQ
Señores :

Estoy migrando de servidor a uno similar con php5 , apache 2 y oracle 9i sobre SUSE .pero tengo problemas al hacer mi conexión a Oracle .

Cuando hago un phpinfo() obtengo :

Configure Command
./configure' '--disable-all' '--prefix=/usr' '--with-apxs=/apache/bin/apxs' '--with-config-file-path=/etc'
'--with-oci8=/var/oracle/product/10r2'

oci8
OCI8 Support enabled
Revision $Revision: 1.269.2.8 $
Active Persistent Connections 0
Active Connections 0
Oracle Version 10.1
Compile-time ORACLE_HOME /var/oracle/product/10r2
Libraries Used no value
Temporary Lob support enabled
Collections support enabled



Pero cuando hago la conexion asi :

/* Abre la base de datos */
$t_x = ocilogon("olvadesa","xxxx","db1");
$oerr = OCIError($t_x);
if ($oerr) {
if ($oerr["code"] == "1017")
{ echo "Por favor Chekee su cuenta de Usuario o Clave de Acceso"; }
else
{ echo "Error ".$oerr["message"]; }
exit;
}
if ($t_x == FALSE) { echo "No se pudo conectar"; }
return $t_x;


Me aparece el siguiente mensaje de error

Warning: ocilogon() [function.ocilogon]: ORA-12705: invalid or unknown NLS parameter value specified in /usr/local/apache/htdocs/intranet/conexion.php on line 31

Warning: ocierror() expects parameter 1 to be resource, boolean given in /usr/local/apache/htdocs/intranet/conexion.php on line 32
No se pudo conectar



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-general-es @
categoriesphp
postedApr 26, '06 at 7:01p
activeApr 26, '06 at 7:01p
posts1
users1
websitephp.net

1 user in discussion

Denyl Meneses Guillén: 1 post

People

Translate

site design / logo © 2022 Grokbase