Re: Oracle NLS error on Oracle 8
| From: | Morten Dreier | Date: | Mon, 05 Jun 2000 14:08:02 +0000 |
| Subject: | Re: Oracle NLS error on Oracle 8 | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-200@lists.php.net to get a copy of this message | ||
Stanislav Borutsky said at ÒRe: [PHP-DB] Oracle NLS error on Oracle 8Ó.
[05/06/2000 16:50]
> If I'm not mistaken, Oracle8 and Oracle 8i use ORA_NLS33 and not ORA_NLS32
OK, I tried "ORA_NLS33=/local/oracle/product/8.1.5/ocommon/nls/admin/data" -
same error... :(
Any other tips?
When we comment the upper two 'PutEnv's, it works, but with the wrong
charset.
> Morten Dreier wrote:
>
> > We get this error after upgrading to Oracle 8.1 from 7.3:
> > "Connection Failed: ORA-12705: invalid or unknown NLS
> > parameter value specified in oracle.phplib on line 199"
> >
> > In the lib we do this:
> > PutEnv("ORA_NLS32=/local/oracle/product/8.1.5/ocommon/nls/admin/data");
> > PutEnv("NLS_LANG=american_america.we8iso8859p1");
> > PutEnv("LC_TYPE=iso_8859_1");
> > PutEnv("LC_CTYPE=iso_8859_1");
> >
> > It worked under Oracle 7.3
> >
> > Has anyone got a clue what is wrong?
> >
> > --
> > Morten Dreier
> > Institutt for Datateknikk og Informasjonsvitenskap
> > http://www.ifi.ntnu.no/~mdreier/
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-db-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>