[PHP-DEV] PHP 4.0 Bug #6770 Updated: ora_numrows always returns 1 From: sniper <email protected>
Date: 01/30/01

ID: 6770
Updated by: sniper
Reported By: izzy <email protected>
Status: Open
Old-Bug Type: Oracle related
Bug Type: OCI8 related
Assigned To:
Comments:

reclassified.

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

[2000-09-23 00:03:59] izzy <email protected>
>Please use --with-oci8 instead of --with-oracle.

That doesn't solve my problem - the functions are still broken. I had to rewrite all our php apps that use, e.g., ora_logon to the oci8 functions (in this case: OCILogon). Otherwise I get returned "undefined function ora_logon" etc.pp.. Is there by any chance some possibility to get those functions (as named above) running correctly (or just working as expected ;) ?

Izzy.

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

[2000-09-16 23:19:56] sniper <email protected>
Please use --with-oci8 instead of --with-oracle.

See http://www.php.net/manual/ref.oci8.php
for more info.

--Jani

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

[2000-09-15 07:33:52] izzy <email protected>
regardless of row count (if at least one row is there), ora_numrows returns 1 and not the correct number or affected rows. Syntax is put correctly (ora_numcols put into the same place returns the correct number, so it must be correct). We use Oracle 8.1.6 here.

default compile with just 3 params: --with-apxs=/usr/local/apache/bin/apxs --with-mysql=yes --with-oracle=/home/izzy/OraHome

nothing else special on the setup

btw: very similiar prob with ora_fetch_into just returning nothing, while ora_fetch works fine on the very same sql statement etc.

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

[2000-09-15 07:27:40] izzy <email protected>
regardless of row count (if at least one row is there), ora_numrows returns 1 and not the correct number or affected rows. Syntax is put correctly (ora_numcols put into the same place returns the correct number, so it must be correct). We use Oracle 8.1.6 here.

default compile with just 3 params: --with-apxs=/usr/local/apache/bin/apxs --with-mysql=yes --with-oracle=/home/izzy/OraHome

nothing else special on the setup

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

Full Bug description available at: http://bugs.php.net/?id=6770

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>