Re: strange oracle/linux problem
| From: | Thies C. Arntzen | Date: | Wed, 29 Nov 2000 08:11:18 +0000 |
| Subject: | Re: strange oracle/linux problem | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-4831@lists.php.net to get a copy of this message | ||
On Tue, Nov 28, 2000 at 12:26:36PM -0500, Dan wrote:
> Thies,
>
> We don't want var_dump's output sent to the page. Is there a way to
> redirect var_dump (or print_r) to the error log?
>
> Incidentally, ora_errorcode, called with no arguments, returns 0. If we
> pass the munged oracle connection handle to it, it returns nothing.
that usually means "no error"! do you see anythin unusual in
the apache error-log? error_reporting should be set to
E_ALL, display_error Off and log_errors set to On.
tc
>
> Dan
>
> On Tue, 28 Nov 2000, Thies C. Arntzen wrote:
>
> >
> > > ora_errorcode returns nothing. :(
> >
> > please call
> > $err = ora_errorcode($your_broken_db_link);
> > var_dump($err);
> > _and_
> > $err = ora_errorcode(); // _without_ args!
> > var_dump($err);
> >
> > send and send me both.
> >
> > tc
> >
>
>