Re: Error... or is it me?

From: Date: Tue, 18 Dec 2001 21:38:32 +0000
Subject: Re: Error... or is it me?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-613@lists.php.net to get a copy of this message
> >== ERROR === > >PHP Fatal error: Maximum execution time of 30 seconds exceeded in > >d:\php\pear\DB.php on line 626 PHP Fatal error: Maximum execution time of 30 > >seconds exceeded in d:\php\pear\PEAR.php on line 504 > > That's no problem of PEAR. It seems as if you are doing something, > that takes pretty long (e.g. long database queries). After 30 > seconds PHP automatically kills the process and prints the > error message shown above. > > You can avoid this by using set_time_limit() to set another maximum > execution time. See http://www.php.net/set_time_limit That's fine, /if/ it was expected to take more than 30 seconds. The query "select * from tbl_customer" is a 2 column, 10 record table, that should be returned in less than a second. It seems to me that something is causing it to go into a loop, as the table that is generated it huge and the memory that IE5 takes up grows to about 90 meg. Also PHP starts to top out at one of the highest processes on the server. I'm not sure why this is the case, which is why I wanted to make sure that I was using the ->query method correctly... I have read a few intro artciles on o'reilly's onlamp and also the recommended starting tute on vulcanonet.com/soft/?pack=pear_tut I'll take a look at what the database is seeing too... Pete

« previous php.pear.general (#613) next »