ID:               30038
 Updated by:       [EMAIL PROTECTED]
 Reported By:      v dot bolognesi at quanthink dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         OCI8 related
 Operating System: Red Hat Linux release 9 (Shrike
 PHP Version:      5.0.1
 New Comment:

This error message means that PHP was compiled with Oracle client that
doesn't support collections, therefore collections support was
disabled.
Please, check it in phpinfo()'s output and figure why ./configure was
unable to find collections support.
Also, your usage examples are welcome (if you're interested in making
the documentation better, of course).


Previous Comments:
------------------------------------------------------------------------

[2004-09-09 12:59:54] v dot bolognesi at quanthink dot com

Description:
------------
>From phpinfo():

System: 
Linux cyber 2.4.20-18.9smp #1 SMP Thu May 29 6:55:05 EDT 2003 i686

Configure Command:
'./configure' '--prefix=/usr/local/php5-apache2'
'--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-jpeg-dir=/usr/local/lib' '--with-jpeg' '--with-gd=/usr/local'
'--with-zlib-dir=/usr/lib' '--with-png-dir=/usr/local/lib'
'--with-freetype-dir=/usr/local/lib'
'--with-oci8=/u01/app/oracle/product/10.1.0/client_1/'
'--with-sybase-ct=/usr/local/' '--with-gettext' '--with-mysql'
'--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--enable-track-vars' '--enable-trans-sid' '--enable-memory-limit'
'--enable-shmop' '--enable-versioning' '--enable-calendar'



Reproduce code:
---------------
<?
$oracle_db = oci_connect("XXX", "YYYY", "AAA");
$onc = oci_new_collection($oracle_db, "T_XX");
        

ocilogoff($oracle_db);

?>

note: the type T_XX
is a sql type creaded with create type ... statement in
sqlplus.

Expected result:
----------------
at least recognize the function :-)
Also, I little of examples would be much appreciated.

Browsing the documentation, I found that several
collection-related features are available only in CVS.
But nor for oci_new_collection
(see: http://it.php.net/manual/en/function.oci-new-collection.php
it's in english) 
neither for ocinewcollection, which doesn't work
too.

Thank you

Actual result:
--------------
Fatal error: Call to undefined function oci_new_collection()







------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30038&edit=1

Reply via email to