php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57072 BLOB Field not displaying
Submitted: 2006-06-08 11:05 UTC Modified: 2006-06-09 01:59 UTC
From: marc dot stpierre at doj dot ca dot gov Assigned:
Status: Closed Package: oci8 (PECL)
PHP Version: 5.1.4 OS: Solaris 9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: marc dot stpierre at doj dot ca dot gov
New email:
PHP Version: OS:

 

 [2006-06-08 11:05 UTC] marc dot stpierre at doj dot ca dot gov
Description:
------------
We were using PHP 5.1.2 with no problems, then we upgraded to PHP 5.1.4 and suddenly our BLOB fields are not being returned. I have verified that they still store properly in the Oracle database.

php-5.1.4.tar.bz2 - downloaded from php.net downloads page (appears to have a date of 5/4/2006)

I have seen the posts related to Bug #7665 and I was having problems trying to install the patch or find the latest 5.1.4 version from cvs.

How do i go about either installing the patch or where can I go to get the latest code from cvs (do I need the entire PHP source or just oci8.c file)

Expected result:
----------------
I expected to see my BLOB fields!

Actual result:
--------------
I didn't see my BLOB fields!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-08 11:18 UTC] marc dot stpierre at doj dot ca dot gov
Sorry I think I meant to ask if it is enough if I just get the latest oci8_lob.c from cvs or should I get the entire oci8 package. Also I found this link, is this where I should get the code from: http://cvs.php.net/viewcvs.cgi/pecl/oci8/

Finally, whatever code I download. I copy to my php/ext/oci8 directory and then re-preform the ./configure, make, and make install... Is this correct?
 [2006-06-08 13:37 UTC] marc dot stpierre at doj dot ca dot gov
Additional Information:

I downloaded the latest stable package for oci8 and that didn't fix the problem (version 1.2.1).

Then I downloaded oci8_lob.c from cvs (Revision 1.7.2.6.2.2) this gave me the following errors with performing the make

php-5.1.4-# make > make_output3_06_08.log
/usr/victor_apache/php-5.1.4/ext/date/lib/tm2unixtime.c: In function `do_years':
/usr/victor_apache/php-5.1.4/ext/date/lib/tm2unixtime.c:143: warning: integer constant is too large for "long" type
/usr/victor_apache/php-5.1.4/ext/iconv/iconv.c: In function `_php_iconv_appendl':
/usr/victor_apache/php-5.1.4/ext/iconv/iconv.c:254: warning: passing arg 2 of `libiconv' from incompatible pointer type
/usr/victor_apache/php-5.1.4/ext/iconv/iconv.c: In function `php_iconv_string':
/usr/victor_apache/php-5.1.4/ext/iconv/iconv.c:414: warning: passing arg 2 of `libiconv' from incompatible pointer type
/usr/victor_apache/php-5.1.4/ext/iconv/iconv.c: In function `_php_iconv_strlen':
/usr/victor_apache/php-5.1.4/ext/iconv/iconv.c:528: warning: passing arg 2 of `libiconv' from incompatible pointer type
/usr/victor_apache/php-5.1.4/ext/iconv/iconv.c: In function `_php_iconv_substr':
/usr/victor_apache/php-5.1.4/ext/iconv/iconv.c:641: warning: passing arg 2 of `libiconv' from incompatible pointer type
/usr/victor_apache/php-5.1.4/ext/iconv/iconv.c: In function `_php_iconv_strpos':
/usr/victor_apache/php-5.1.4/ext/iconv/iconv.c:772: warning: passing arg 2 of `libiconv' from incompatible pointer type
/usr/victor_apache/php-5.1.4/ext/iconv/iconv.c: In function `_php_iconv_mime_encode':
/usr/victor_apache/php-5.1.4/ext/iconv/iconv.c:1021: warning: passing arg 2 of `libiconv' from incompatible pointer type
/usr/victor_apache/php-5.1.4/ext/iconv/iconv.c:1121: warning: passing arg 2 of `libiconv' from incompatible pointer type
/usr/victor_apache/php-5.1.4/ext/iconv/iconv.c: In function `php_iconv_stream_filter_append_bucket':
/usr/victor_apache/php-5.1.4/ext/iconv/iconv.c:2379: warning: passing arg 2 of `libiconv' from incompatible pointer type
/usr/victor_apache/php-5.1.4/ext/iconv/iconv.c:2458: warning: passing arg 2 of `libiconv' from incompatible pointer type
/usr/victor_apache/php-5.1.4/ext/oci8/oci8_lob.c: In function `php_oci_lob_callback':
/usr/victor_apache/php-5.1.4/ext/oci8/oci8_lob.c:156: error: `php_oci_lob_ctx' undeclared (first use in this function)
/usr/victor_apache/php-5.1.4/ext/oci8/oci8_lob.c:156: error: (Each undeclared identifier is reported only once
/usr/victor_apache/php-5.1.4/ext/oci8/oci8_lob.c:156: error: for each function it appears in.)
/usr/victor_apache/php-5.1.4/ext/oci8/oci8_lob.c:156: error: `ctx' undeclared (first use in this function)
/usr/victor_apache/php-5.1.4/ext/oci8/oci8_lob.c:156: error: parse error before ')' token
/usr/victor_apache/php-5.1.4/ext/oci8/oci8_lob.c: In function `php_oci_lob_calculate_buffer':
/usr/victor_apache/php-5.1.4/ext/oci8/oci8_lob.c:192: error: structure has no member named `chunk_size'
/usr/victor_apache/php-5.1.4/ext/oci8/oci8_lob.c:200: error: structure has no member named `chunk_size'
/usr/victor_apache/php-5.1.4/ext/oci8/oci8_lob.c:203: error: structure has no member named `chunk_size'
/usr/victor_apache/php-5.1.4/ext/oci8/oci8_lob.c:204: error: structure has no member named `chunk_size'
/usr/victor_apache/php-5.1.4/ext/oci8/oci8_lob.c:204: error: structure has no member named `chunk_size'
/usr/victor_apache/php-5.1.4/ext/oci8/oci8_lob.c: In function `php_oci_lob_read':
/usr/victor_apache/php-5.1.4/ext/oci8/oci8_lob.c:217: error: `php_oci_lob_ctx' undeclared (first use in this function)
/usr/victor_apache/php-5.1.4/ext/oci8/oci8_lob.c:217: error: parse error before "ctx"
/usr/victor_apache/php-5.1.4/ext/oci8/oci8_lob.c:231: error: `ctx' undeclared (first use in this function)
make: Fatal error: Command failed for target `ext/oci8/oci8_lob.lo'
 [2006-06-08 14:41 UTC] tony2001 at phpclub dot net
>Then I downloaded oci8_lob.c from cvs 
Updating only ONE file from CVS is not going to work.
Apparently you need to update them ALL.
Please try oci8 from CVS.
 [2006-06-08 15:44 UTC] marc dot stpierre at doj dot ca dot gov
Then I downloaded oci8_lob.c from cvs (Revision 1.7.2.6.2.1) this seems to have worked successfully!

I believe my issue is resolved
 [2006-06-09 01:59 UTC] tony2001 at phpclub dot net
Fixed -> closed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 10:01:26 2024 UTC