Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\mydomainname\PHP_CoreKIT\lib\nusoap.php on line 1761
I am using Web service so it is showing me this error some time, but most of the time they runs perfectly, now I want to show the error page which inform the user that connection timeout instead of this message. I have also divided my code in various classes so this nusoap class is used in many other classes. How can i do that?
How to handle Fatel Error?
Moderator: General Moderators
- PatelNehal
- Forum Newbie
- Posts: 21
- Joined: Mon Mar 23, 2009 7:27 am
- Location: Gujarat, India
Re: How to handle Fatel Error?
Especially for the time limit, you can register a shutdown function and in that function to check the connection status
P.S. If display errors is off, PHP 5.2 will return HTTP 500 status, so you can set your 500 error page
Most fatal errors however can not be catched0 - NORMAL
1 - ABORTED
2 - TIMEOUT
P.S. If display errors is off, PHP 5.2 will return HTTP 500 status, so you can set your 500 error page