...

View Full Version : Server time-out



LaundroMat
03-02-2003, 01:45 AM
I'm experiencing server time-outs on my local server. The page that is being requested is quite a light page (with three hits to a MySQL database), and I'm pretty sure it's not the page in itself that causes the time-outs..

fyi:

Fatal error: Maximum execution time of 30 seconds exceeded in c:\phpdev\www\petrus\content\kalender.php on line 94.

Hmm, upon checking line 94, I see it's the first hit to the DB. Could this be a MySQL problem? If so, what could be its causes?

LaundroMat
03-02-2003, 01:48 AM
Solved...

Apparently, I was looking in a resultset that was completely empty. I added a check whether the set was empty and if so, not to try and search the DB any further.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum