• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Maximum execution time of 30 seconds Compiler.php

kankan

Active member
#1
Hello

I just found this kind of message in my server Message log.

Does anyone knows about this issue ?

Thank you

(since a few day, i don't know if the problem is the cause, but when editing a post, the page does not refresh (wheel keeps turning).



Code:
Jul  6 10:22:04 canada httpd: PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/e-smith/files/ibays/forumasus/html/www/library/XenForo/Template/Compiler.php on line 453
Jul  6 10:25:40 canada httpd: PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/e-smith/files/ibays/forumasus/html/www/library/XenForo/Template/Compiler.php on line 419
Jul  6 10:28:08 canada httpd: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 144908 bytes) in /home/e-smith/files/ibays/forumasus/html/www/library/Zend/Db/Statement/Mysqli.php on line 294
Jul  6 10:43:32 canada httpd: PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/e-smith/files/ibays/forumasus/html/www/library/XenForo/Template/Compiler.php on line 1627
Jul  6 10:46:01 canada httpd: PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/e-smith/files/ibays/forumasus/html/www/library/XenForo/Template/Compiler/Function/String.php on line 27
Jul  6 10:47:23 canada httpd: PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/e-smith/files/ibays/forumasus/html/www/library/XenForo/Template/Compiler/Function/Link.php on line 39
Jul  6 10:48:10 canada httpd: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 140426 bytes) in /home/e-smith/files/ibays/forumasus/html/www/library/Zend/Db/Statement/Mysqli.php on line 276
 

Mike

XenForo developer
Staff member
#2
The only time I've seen this related to an infinite loop, but you'd know because it would've triggered and displayed an error to you.

If you don't know what's triggering it, it's hard to say if there's an actual error or if there's just an intensive operation being triggered.
 

Jake Bunce

XenForo moderator
Staff member
#3
Are you sure those errors are connected to the post edit request?

A delay when posting can be the result of lots of notification emails being sent (addressed in 1.2), but a post edit doesn't send emails.

I suggest some standard troubleshooting here. Temporarily disable all addons and install a default style to see if that fixes the problem. Also please try editing a post using the full edit page (as opposed to the inline edit feature that uses an overlay). If it works with the full page but not the overlay then I might suspect an overly restrictive server rule. Just a guess.