Re: ODBC Error Handling
| From: | Hutch K. Hicken | Date: | Mon, 10 Jul 2000 19:08:19 +0000 |
| Subject: | Re: ODBC Error Handling | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5786@lists.php.net to get a copy of this message | ||
Apache's errorlog when set to debug has nothing unusual and I'm using
EasySoft's ODBC-ODBC bridge for my connection...the details of which are
too extensive to go into (user limitations, etc). All I'm looking for
is a way to trap messages before they appear to the web user. I have
experimented with the eval command and others to no benefit.
On Mon, 10 Jul 2000, M.Stolte wrote:
>try looking in apache's errorlog , and try tracing the odbc drivers..
>
>Maarten Stolte
>
>----- Original Message -----
>From: Hutch K. Hicken <hkh@bdel.com>
>To: <php-general@lists.php.net>
>Sent: Monday, July 10, 2000 8:37 PM
>Subject: [PHP] ODBC Error Handling
>
>
>> Is there any way to handle errors returned by failed ODBC
>> Connections? I have a connection that periodically fails in PHP/Apache
>> to an ODBC source. The failure is on the PHP/Apache end as queries from
>> other sources (i.e. iSQL) on the same box continue to work when web
>> pages with the same queries don't. A simple restart of the apache
>> daemon resolves the issue, but without error handling in PHP for ODBC
>> connections, I have to load the page to check for errors and restart the
>> Apache daemon via a perl script.
>>
>> Is there a tricky way of checking errors that I don't know about? When
>> will odbc error-checking be built into php?
>>
>> Any help would be greatly appreciated.
>>
>> Thanks in advance,
>>
>> Hutch Hicken
>> hutch@bdel.com
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>> For additional commands, e-mail: php-general-help@lists.php.net
>> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>>
>
>