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

Fixed  Browser Timeout Issue

#1
So I uploaded all the files to my server and "lala", timeout problem when attempting just to load it.

Fatal error: Maximum execution time of 30 seconds exceeded in /home/vgrc/public_html/zelda/clickheat/community/library/XenForo/Application.php on line 139

All I really want to know is what the underlying cause is - whether it's because I am missing a script I need to install server side, or if it's simply due to an error in the underlying coding. Seeing as no one else has had this issue thus far, it's been hard to come up with any solutions. Of note, I have not had this issue during the initial setup of IPB3 or VB4 on the same server.
 

Mike

XenForo developer
Staff member
#5
Can you try this fix. In library/XenForo/Application.php, change:
Code:
		while (ob_get_level())
		{
			ob_end_clean();
		}
to:
Code:
while (@ob_end_clean());
 
#6
Can you try this fix. In library/XenForo/Application.php, change:
Code:
 while (ob_get_level())
{
ob_end_clean();
}
to:
Code:
while (@ob_end_clean());
I had a similar problem, tried this, and it worked. Many thanks.

Important note: I got the same error as the OP, but it took no time at all to happen; it clearly wasn't an actual browser timeout issue.