Re: OCI_B_FILE error
| From: | thies at digicol dot de | Date: | Fri, 01 Sep 2000 09:36:49 +0000 |
| Subject: | Re: OCI_B_FILE error | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2549@lists.php.net to get a copy of this message | ||
On Thu, Aug 31, 2000 at 04:28:16PM -0400, Fred Bulah wrote:
>
> Hello,
>
> I am using PHP4 + Oracle 8.1.6 on Solaris 2.8/Intel with Apache 1.3.12.
> It has been working fine, but recently I added code to use a BFILE type and
> got the error:
>
> Warning: Use of undefined constant OCI_B_FILE - assumed 'OCI_B_CFILE' in
> /export/home/fredb/php/dblink.php
> Warning: Use of undefined constant OCI_B_CFILE - assumed 'OCI_B_CFILE' in
> /export/home/fredb/php/dblink.php
from oci8.c:
REGISTER_LONG_CONSTANT("OCI_B_BFILE",SQLT_BFILEE, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("OCI_B_CFILEE",SQLT_CFILEE, CONST_CS | CONST_PERSISTENT);
source is always the best reference;-)
tc
>
> The other OCI defined constants (OCI_B_ROWID, OCI_B_CURSOR, OCI_RETURN_LOBS,
> etc.) are used in the same file and produce no warnings. What might be the
> problem?
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany