ORA-12705
| From: | ricardo vercesi | Date: | Thu, 15 Feb 2001 15:14:26 +0000 |
| Subject: | ORA-12705 | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-6660@lists.php.net to get a copy of this message | ||
** Proprietary **
Hi there!
I'm running Apache 1.13.17 on Win2K with PHP 4.04pl1 and trying to connect to a Oracel 8.1.6 db
on HP-UX
I get the following error:
Warning: OCISessionBegin: ORA-12705: invalid or unknown NLS parameter value specified in c:\program
files\apache group\apache\htdocs\ora.php on line 10
Here is the script:
<?
putenv ('ORACLE_HOME=D:\Oracle\Ora81');
putenv ('ORACLE_SID=WWW');
putenv ('TNS_ADMIN=D:\Oracle\Ora81\network\ADMIN');
putenv ('NLS_LANG=american_america.we8iso8859p1');
putenv ('ORA_NLS33=D:\Oracle\Ora81\ocommon\nls\ADMIN\DATA');
$conn = OCILogon("infarmed","infarmed","WWW") or die;
$stmt = OCIParse($conn,"select * from evento");
OCIExecute($stmt);
...
Any IDEAS?
Thank you!
Ricardo Vercesi
webmaster@infarmed.pt
--------------------------------------
Direcção Operacional
de Tecnologias de Informação
INFARMED