Can you show us your OCIConnect statement? It returns a handle to a variable
that you should use as your connection resource...

> From: "Matteo" <[EMAIL PROTECTED]>
> Date: Fri, 24 Aug 2001 10:03:46 +0200
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB]  [PHP-ORACLE] a lot of errors!!!
> 
> I have a server with Linux 6.2 kernel 2.2.19 with apache 1.3.20
> 
> i configure php in this mode
> 
> './configure' '--with-apache=/home/apache/apache_1.3.20' '--with-mysql'
> '--with-gd' '--enable-track-vars' '--enable-force-cgi-redirect'
> '--enable-discard-path' '--enable-safe-mode' '--enable-calendar'
> '--with-gdbm' '--enable-ftp' '--with-regex=php' '--with-gnu-ld'
> '--with-oci8' '--with-imap' '--with-kerberos'
> '--with-openssl=/usr/local/ssl'
> 
> i have installed Oracle 8.1.7.  server and client and i configure correctly
> listener.ora e tnsnames.ora. It works
> 
> But when i try an SQL test, it displays this messages:
> 
> 
> Warning: _oci_open_server: Error while trying to retrieve text for error
> ORA-12154 in /home/httpd/html/blu/lib/db/oracle.db.inc.php3 on line 180
> 
> Warning: Supplied argument is not a valid OCI8-Connection resource in
> /home/httpd/html/blu/lib/db/oracle.db.inc.php3 on line 181
> 
> Warning: Supplied argument is not a valid OCI8-Statement resource in
> /home/httpd/html/blu/lib/db/oracle.db.inc.php3 on line 183
> Error: Oracle Error: ---
> 
> Fatal error: Call to undefined function: blu_log() in
> /home/httpd/html/blu/lib/db/oracle.db.inc.php3 on line 187
> 
> 
> What is the problem?
> 
> Thankx very much for answers.
> 
> Matteo
> ITALY
> 
> 
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to