Re: OCI_B_FILE error
| From: | Thies Arntzen | Date: | Fri, 01 Sep 2000 16:18:51 +0000 |
| Subject: | Re: OCI_B_FILE error | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2567@lists.php.net to get a copy of this message | ||
On Fri, Sep 01, 2000 at 08:30:22AM -0400, Fred Bulah wrote:
>
> Thanks for the response.
> The online manual is wrong then I guess.
> It makes life a little difficult when you can't trust the documentation.
fix it! - or -atleast- append a note to it!
thanx,
tc
>
> -----Original Message-----
> From: thies@digicol.de [mailto:thies@digicol.de]
> Sent: Friday, September 01, 2000 5:37 AM
> To: Fred Bulah
> Cc: chang; php-db@lists.php.net
> Subject: Re: [PHP-DB] OCI_B_FILE error
>
>
> 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
--
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