Re: Re: Strange intermittant errors
| From: | Jason Wong | Date: | Wed, 30 Oct 2002 22:06:53 +0000 |
| Subject: | Re: Re: Strange intermittant errors | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122136@lists.php.net to get a copy of this message | ||
On Thursday 31 October 2002 05:02, Peter Gordon wrote:
> Hi 1LT John W. Holmes, on the subject of Re: [PHP] Re: Strange intermittant
>
> errors, you said:
> > Is it alway the same error? Is it always a problem related to MySQL? If
> > it's intermittent like this and on simple queries, I'd say you have a
> > problem with MySQL, or the tranfer of data between MySQL and PHP. Are you
> > checking for a mysql_error() in these queries?
>
> Well, I've just chucked a load of debug in the page where it cropped up,
> printing out mysql error at every mysql call... but in accordance with sods
> law its just not happening again :) I'll keep trying...
Use error_log() to log any useful debugging info into a file. Then, if and
when the error occurs all the pertinent info is ready and waiting for you in
a file.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
I want to be the white man's brother, not his brother-in-law.
-- Martin Luther King, Jr.
*/