Page 1 of 1

Fatal Error Enquiry

Posted: Tue Dec 19, 2006 6:43 pm
by FiOh
Hi,

Anyone knows what does ' Fatal error: Maximum execution time of 30 seconds exceeded...' means?

Thanks.
*^^*

Posted: Tue Dec 19, 2006 6:46 pm
by Weirdan
that means that your script ran for too long and php interpreter stopped its execution because it was configured to do so.

Posted: Tue Dec 19, 2006 6:50 pm
by John Cartwright
set_time_limit(), and her sibling functions may be of interest :wink:

Posted: Tue Dec 19, 2006 8:12 pm
by Kieran Huggins
unless you're doing a LOT of processing, I would guess you're either stuck in a loop or timeing out on a remote service (database maybe?).

Cheers,
Kieran

Posted: Tue Dec 19, 2006 8:29 pm
by FiOh
Actually i am not very sure where does the problem lies in the php coding. This is because i am assigned to work on project done by previous student, and i am totally new to php.
The entire program, the php codings are too much...

Everytime i try to run the program the same fatal error will point to different line of different page...
What should i do?
T-T

Posted: Tue Dec 19, 2006 8:30 pm
by feyd
Install and use a profiler. :)

If you need explanations of what those are... search. ;)

Posted: Tue Dec 19, 2006 10:50 pm
by FiOh
feyd wrote:Install and use a profiler. :)

If you need explanations of what those are... search. ;)
Eh? What is a profiler?
Where can i get it?

Posted: Tue Dec 19, 2006 11:07 pm
by John Cartwright
FiOh wrote:
feyd wrote:Install and use a profiler. :)

If you need explanations of what those are... search. ;)
Eh? What is a profiler?
Where can i get it?
......................... seriously?

Read the second sentence of feyd's reply.

Posted: Wed Jan 17, 2007 7:07 pm
by FiOh
Serious speaking... i really do not know what is a Profiler... :cry:
By the way, how do i use the set_time_limit() function?

Posted: Wed Jan 17, 2007 7:43 pm
by volka
Is this related to viewtopic.php?t=62010 ?

Posted: Thu Jan 18, 2007 11:56 pm
by FiOh
volka wrote:Is this related to viewtopic.php?t=62010 ?
Yes... >.<
I'm really sorry... because i am left with 3 weeks to solve this problem as well as to add in new features to this project...

And i really don't know what is a Profiler.

Posted: Fri Jan 19, 2007 8:20 am
by feyd
Have you searched like we've said to?

http://en.wikipedia.org/wiki/Profiler_% ... science%29

Posted: Fri Jan 19, 2007 5:12 pm
by aaronhall
FiOh wrote:
volka wrote:Is this related to viewtopic.php?t=62010 ?
Yes... >.<
I'm really sorry... because i am left with 3 weeks to solve this problem as well as to add in new features to this project...

And i really don't know what is a Profiler.
:banghead: