Re: [PHP-DB] CLOB-load() error (OCI8 against Oracle 10G )

2005-11-10 Thread Script This
okso as i put together a small testcase of this problem using the same table and all of the same code except the code between while (ocifetchinto()) { and } , the testcase worked. looks like we have a problem with a shallow copy of the clob occurring somewhere in our database class in the

Re: [PHP-DB] CLOB-load() error (OCI8 against Oracle 10G ) More Detail

2005-11-10 Thread Script This
The problem in more detail: I have a class called DbConn and in that class I have a function called select() which calls another function runQuery(). runQuery() executes the sql. select() loops over the result set with OCIFetchInto like this: 158

[PHP-DB] CLOB-load() error (OCI8 against Oracle 10G )

2005-11-09 Thread Script This
I have an OCI-Lob Object (in this case a clob) on which I am calling load(). I have identical code for a blob that works perfectly fine. I can't find any documentation or notes about this function or my error... Code that produces error: // i get here after succesfully executing // a

Re: [PHP-DB] CLOB-load() error (OCI8 against Oracle 10G )

2005-11-09 Thread Christopher Jones
What line of code is 1546? How are you binding/executing/fetching? Are you using OCI_B_CLOB? If you post a complete (small) testcase we may can look at it. Please include DDL to create any table. Most importantly, use the refactored OCI8 driver: http://pecl.php.net/package/oci8 -- cj