Forums / Install & configuration / Strange timeout error

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Strange timeout error

Author Message

Orlin Velinov

Thursday 05 June 2003 11:54:00 pm

Hi,
when I installed ez 3.0 and trying to access, i got this error:

Fatal error: Maximum execution time of 30 seconds exceeded in /home/ovsoft/public_html/ez/lib/ezi18n/classes/ezcodepage.php on line 92
Fatal error: Exponential did not finish it's request

The execution of Exponential was abruptly ended, the debug output is present below.

What to do?

Karsten Jennissen

Friday 06 June 2003 2:59:33 am

Try this patch:
http://ez.no/developer/ez_publish_3/contributions/30_second_timeout_remedy

Orlin Velinov

Friday 06 June 2003 6:42:57 am

Thank you, this solved my problem :-)

Eugene Vernikovskiy

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.