Re: PHP & Oracle interface

From: Date: Wed, 12 Jul 2000 22:36:08 +0000
Subject: Re: PHP & Oracle interface
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6326@lists.php.net to get a copy of this message
In article <008701bfeb96$fbb63f70$996ab5d0@missioncontrol>, michael@mail.vocalcommerce.com ("Michael McConnell") wrote: > <? ociinternaldebug(1); > $connect =3D ocilogon("user","pass","database"); > > I get this error > > Warning: _oci_open_server: Error while trying to retrieve text for error > OCA_12546 in /www/htdocs/site.com/oci8.php4 on line 3 > OCIDebug: _oci_open_server: FAILURE -> CLEANUP called > OCIDebug: START )oci_close_server detaching conn=3D0 dbname=3Ddatabase > OCIDebug: oci_do_connect: FAILURE -> CLEANUP called > OCIDebug: START _oci_conn_list_dtor: id=3D0 > OCIDebug: END _oci_conn_list_dtor: id=3D0 It looks like you are not connecting. Since the point of ociinternaldebug() is presumably to allow PHP to get detailed error messages from Oracle, it's only going to work if there's a connection in the first place... Sort of a chicken and egg problem: Until you have a connection, OCI can't tell PHP what went wrong. -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#6326) next »