I am having trouble using CMS Made Simple on our entire server. We have used it for a number of sites that have been fine, but there is one site that is not working all of a sudden. I keep getting the following error when trying to view content pages (admin pages are fine btw):
Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/vhosts/espressoquest.com/httpdocs/lib/smarty/Smarty_Compiler.class.php on line 445
I tried creating a fresh installation of CMS made simple on a new domain but ran into the same problem. Whenever either of the sites are accessed the server cpu usage jumps to 100% and stays there until I kill the apache process. Increasing max execution time simply makes it take long to time out. Seems like there is an infinite loop somewhere.
MySQL Version: 5.0.22-Debian_0ubuntu6.06.10-log
CMSMS Version: 1.3.1
PHP Version: 5.2.0-0.dotdeb.3
Apache Version: Apache 2.0.55
The guys that look after our server recently upgraded a few of the packages. Im not sure if this included php or mysql.
[solved] Maximum execution time exceeded in Smarty_Compiler.class.php
- FantomCircuit
- Forum Members
- Posts: 75
- Joined: Fri Nov 10, 2006 1:34 am
- Location: Gold Coast, Australia
[solved] Maximum execution time exceeded in Smarty_Compiler.class.php
Last edited by Anonymous on Thu Jul 17, 2008 2:32 am, edited 1 time in total.
- FantomCircuit
- Forum Members
- Posts: 75
- Joined: Fri Nov 10, 2006 1:34 am
- Location: Gold Coast, Australia
Re: [help] Maximum execution time exceeded in Smarty_Compiler.class.php
Well it seems there must have been an incompatibility or bug with the PHP 5.2.0 release. We have upgraded the server to 5.2.6 and everything is back to normal. This was a pretty nasty bug as it was brining down the whole server because of the massive cpu load.