From:             v dot bolognesi at quanthink dot com
Operating system: Red Hat Linux release 9 (Shrike
PHP version:      5.0.1
PHP Bug Type:     OCI8 related
Bug description:  Fatal error: Call to undefined function oci_new_collection()

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 bug report at http://bugs.php.net/?id=30038&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30038&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30038&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30038&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30038&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30038&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30038&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30038&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30038&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30038&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30038&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30038&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30038&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30038&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30038&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30038&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30038&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30038&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30038&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30038&r=mysqlcfg

Reply via email to