Saturday 14 August 2004 8:06:58 pm
I faced the same timeout problem after upgrading to v3.4.1 and killing the cache I found the following code in the php eztemplatecompiler.php (in two places)
// Time limit #1:
// We reset the time limit to 30 seconds to ensure that templates
// have enough time to compile
// However if time limit is unlimited (0) we leave it be
// Time limit will also be reset after subtemplates are compiled
if ( ini_get( 'max_execution_time' ) != 0 )
{
@set_time_limit( 30 );
}
I thik the timeout happens because the compiler sets the timeout back to 30 (instead of the original php.ini timeout).
I recommend to set <i>max_execution_time=0</i> in php.ini if you see the error above. Once the compilation is completed you can restore a proper timeout back.
|