Fatal Error Enquiry

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
FiOh
Forum Commoner
Posts: 39
Joined: Tue Dec 12, 2006 12:20 am

Fatal Error Enquiry

Post by FiOh »

Hi,

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

Thanks.
*^^*
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

that means that your script ran for too long and php interpreter stopped its execution because it was configured to do so.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

set_time_limit(), and her sibling functions may be of interest :wink:
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post 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
FiOh
Forum Commoner
Posts: 39
Joined: Tue Dec 12, 2006 12:20 am

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Install and use a profiler. :)

If you need explanations of what those are... search. ;)
FiOh
Forum Commoner
Posts: 39
Joined: Tue Dec 12, 2006 12:20 am

Post 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?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post 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.
FiOh
Forum Commoner
Posts: 39
Joined: Tue Dec 12, 2006 12:20 am

Post 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?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Is this related to viewtopic.php?t=62010 ?
FiOh
Forum Commoner
Posts: 39
Joined: Tue Dec 12, 2006 12:20 am

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Have you searched like we've said to?

http://en.wikipedia.org/wiki/Profiler_% ... science%29
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post 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:
Post Reply