All went fine until ...

Author Message

Terje D. Sætervik

Thursday 27 March 2003 12:21:57 pm

First go to install eZ3, final release, using "setup guide". It started like a warm breeze. The wizard asked me questions, and the database came to live. About to complete the wizard I put a nice hello to the eZ team. After some time this came up:

---
Fatal error: Maximum execution time of 30 seconds exceeded in /home/verdive1/www/ez/lib/ezi18n/classes/ezcodepage.php on line 92
Fatal error: eZ publish did not finish it's request

The execution of eZ publish was abruptly ended, the debug output is present below.
---

Not a gracious exit, if you ask me. Someone out ther with apropriate knowledge?

Thursday 27 March 2003 11:00:51 pm

Try increasing the max_execution_time value i php.ini. It worked for me after doing it. No errors afterwards.

Bård Farstad

Friday 28 March 2003 12:02:30 am

I will try to shed some light on this problem: When you install eZ publish with a translation ( other than eng-GB ) it will need to parse the translation file, which is an approx 200K XML file. The file is in unicode and needs to be converted to your locale. If you don't have mbstring compiled into PHP eZ publish needs to do the string conversion "manually" which is a very big overhead. This can cause processing which exceeds 30 seconds.

This is only done the _first_ time a new translation is accessed, is is then cached. If you compile PHP with mbstring this goes alot faster, but it's still an overhead the first time you access the translation.

--bård

Documentation: http://ez.no/doc

Mike Reinicke

Wednesday 14 May 2003 12:04:00 pm

I was able to workaround that behaviour by increasing the max_execution_time value in my .htaccess file in ezpublish root directory as well:

.htaccess
php_value max_execution_time 180

--mike

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.