If NLS_LANG is set as an environment variable and I run the scripts from
the commandline, everything works.
System: Solaris 2.8, apache 1.3.14, the cgi scripts are in python and use
DCOracle (a python module using OCI) to connect to the DB.
thanks for any help,
dekay
Action: Check the syntax of the ALTER SESSION command and the NLS parameter,
correct the syntax and retry the statement, or specify correct values in the
NLS_LANG environment variable. For more information about the syntax of the
ALTER SESSION command, see the index entry on "ALTER SESSION command" in
Oracle8 Server SQL Reference.
<==
it appears you have set the incorrect NLS_LANG parameter. Correct it to the
one the database is configured with.
HTH,
vrkulkarni
"Dorothea Kuehn" <de...@zedat.fu-berlin.de> wrote in message
news:8vjsvo$4tifk$1...@fu-berlin.de...
No, that is the NLS_LANG parameter the database is configured with.
Anyway, I solved the problem setting the NLS_LANG environment variable in
the CGI script that connects to the database.
The error results probably from some strange communication problems
between Apache and Oracle ... whatever.
regards,
dekay