Welcome Guest, Not a member yet? Register   Sign In
PHP Fatal error: Maximum execution time in Common.php on line 269
#1

[eluser]haraldo[/eluser]
Hi there, i seem to be getting fatal errors occasionally and the apache error log points to the following.

[Tue Dec 09 18:43:20 2008] [error] [client 127.0.0.1] PHP Fatal error: Maximum execution time of 30 seconds exceeded in ...system\\codeigniter\\Common.php on line 269, referer: http://...

Line 269 refers to:

Code:
function _exception_handler($severity, $message, $filepath, $line)

I'm not currently using this function although i understand codeigniter uses it to log php errors.

Anyone got a clue why this might be happening?

Thanks.
#2

[eluser]Krzemo[/eluser]
To me it looks like you have infinite loop somewhere in your code...
#3

[eluser]haraldo[/eluser]
Could be i suppose, i'll have a look around, thanks
#4

[eluser]JimmyPHP[/eluser]
If it is an infinite loop and you are having difficulty finding it, then turn up your execution time (max_execution_time in php.ini) and turn down your memory limit (memory_limit in php.ini) and hopefully your script will bomb in the loop its stuck in once it gobbles up all the memory its allowed to.
#5

[eluser]haraldo[/eluser]
Thanks, it seemed to only be a problem on my dev server and not my live.




Theme © iAndrew 2016 - Forum software by © MyBB