note 33850 added to function.ocilogon
| From: | oddbec-removethis at online dot no | Date: | Wed, 09 Jul 2003 11:35:22 +0000 |
| Subject: | note 33850 added to function.ocilogon | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-51768@lists.php.net to get a copy of this message | ||
I Had trouble with OCILOGON not wanting to login/connect properly.
Errormessage: Error while trying to retrieve text for error ORA-12514.
This error suddenly occured after I rebooted the webserver (Which had been running for a couple of
months by then).
How was I supposed to know what last changes had been done the last months?
The solution to my troubles was putenv :-)
In the beginning of the php-script I just added:
putenv("ORACLE_SID=MyDB");
That was it! =)
-Odd Arne Beck-
----
Manual Page -- http://www.php.net/manual/en/function.ocilogon.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33850
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33850&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33850&report=yes