From:             webmaster at f1-timer dot de
Operating system: Suse Linux 8.1
PHP version:      4.3.5RC2
PHP Bug Type:     OCI8 related
Bug description:  Saving of CLOBS does not work in RC2 but works fine in RC1

Description:
------------
I have many pages here that uses CLOB columns for storing large amount of
text. In 4.3.5RC1 everything works fine, clobs are correctly saved.
However I have today updated to 4.3.5RC2 and now the same code does not
work anymore, Oracle complains about ORA-24801:

  ebola:/usr/src/php-4.3.5RC2 # oerr ORA 24801
24801, 00000, "illegal parameter value in OCI lob function"
// *Cause:  One of the parameter values in the OCI lob function is
illegal.
// *Action: Check every parameter in the OCI Lob function call to make
sure
//          they are correct.  Offsets should be greater than or equal to
one.


Here is my configure line:
/configure' '--with-apxs2=/opt/apache2/bin/apxs' '--enable-bcmath'
'--with-openssl=/opt/openssl' '--enable-sigchild' '--with-pear=/html/PEAR'
'--enable-libgcc' '--with-config-file-path=/opt/apache2/conf'
'--with-pdflib=/usr/local' '--with-oci8' '--with-gd' '--with-ttf=/usr'
'--with-freetype-dir=/usr' '--enable-gd-imgstrttf'
'--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr'
'--with-xpm-dir=/usr' '--with-t1lib=/usr' '--enable-sysvsem'
'--enable-sysvshm' '--enable-sysvmsg' '--disable-debug' '--disable-ctype'
'--with-mysql=/opt/mysql4' '--with-zlib=/usr' '--enable-track-vars'
'--enable-calendar' '--enable-ftp' '--enable-sockets' '--with-gmp'
'--disable-trans-sid' '--enable-shmop' '--without-msql' '--with-mcal=/usr'
'--with-gettext' '--with-bz2=/usr' '--without-dom' '--enable-exif'
'--with-mm=/usr' '--enable-mbstring' '--enable-mbregex'
'--enable-mime-magic' '--enable-dbx' '--enable-dio'
'--with-mcrypt=/usr/local' '--with-tsrm-pthreads' '--with-readline'
'--with-ncurses' '--enable-dba' '--with-mhash=/usr' '--with-gdbm=/usr'
'--with-dbm=/usr' '--with-db4=/usr' '--with-libxml-dir=/opt/libxml2'

The Database is Oracle 9.2.0.4 EE 



Reproduce code:
---------------
The code to reproduce is actually 76 Lines long, so here is the URL to
it:

http://www.in-ovation.de/clobtest.txt


Expected result:
----------------
printing out "done."

Actual result:
--------------
Warning: save(): OCILobWrite: ORA-24801: Unzulässiger Parameterwert in
OCI-LOB-Funktion
 in /html/private/clobtest.php on line 62
Unable to add CLOB text to database!
done.


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

Reply via email to