Maximum execution time of 60 seconds exceeded - eZ 3.7.0rc1

Author Message

Olav Lognvik

Tuesday 09 August 2005 3:03:00 pm

Hi folks

I just added 3.7.0rc1 to my webhotel since domeneshop.no has upgraded to php 4.4.0. The annoying notice disappeared, and installation went fine it seemed. When I try to access the normal or admin site however, I get this timeout error:

Fatal error: Maximum execution time of 60 seconds exceeded in /home/1/e/engasjert/www/lib/ezxml/classes/ezxml.php on line 171
Fatal error: eZ publish did not finish its request


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

I can't increase memory limits or timeout on the server since I don't have access to apache or php.ini settings I believe? If so, how to solve this? Is it a bug in 3.7.0rc1 or a problem with the limits?

Greetings from Olav

Łukasz Serwatka

Wednesday 10 August 2005 12:35:10 am

What you can do is disable translation temporary, and check if this will help.
Go to site.ini.append.php file for your admin siteaccess and set:

[RegionalSettings]
TextTranslation=disabled

If this will not help, try to add in second line in index.php file

set_time_limit(0);

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Olav Lognvik

Wednesday 10 August 2005 6:30:54 am

The first suggestion worked fine, though I put it in the Settings/Override/site.ini.append.php

Thank you! :)

But I have to remove it now that the site has been setup for the first time then? Or the translation will not work?

Łukasz Serwatka

Wednesday 10 August 2005 11:32:03 pm

Yes, now translation is disabled. If you need it for both siteaccess enable it and add in index.php file temporaru line with set_time_limit(0); and access your admin site. If everything will works than you can remove line set_time_limit(0);

Parsing file with translation always takes some time, because PHP 4 is rather slow in this case. XML extensions were re-written in PHP 5 and are much faster. eZ publish 4.0 will use eZ components and all PHP 5 power fetures.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Simon Haugsten Hansen

Saturday 13 August 2005 3:36:27 pm

I'm having the same problem at domeneshop.no.

I had to use the

[RegionalSettings]
TextTranslation=disabled

to get it going the first time.

Now I need the Norwegian translation.

If I add the set_time_limit(0); to the index.php it results in an error:

"The page cannot be displayed 
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings."

On a testinstall i have on my localhost the set_time_limit(0); worked.

I actually just need the norwegian translation. Any other way to get it to work?

Have you got past the problem Olav?

Best regards, Simon

Simon Haugsten Hansen

Tuesday 16 August 2005 2:11:50 am

*bump*

Really need an answer on this issue..

Olav Lognvik

Thursday 18 August 2005 4:57:41 am

Hei Simon

Sorry for the late reply, it's the starting week at the university here :)

I have the exact same problem as you :(. If we could only set the system to Norwegian by default that would be a great help.

Simon Haugsten Hansen

Thursday 18 August 2005 5:45:37 am

great! too bad you didn't have a solution though...

I installed ez with Norwegian as primary and english as secondary language, but that doesn't seem to help.

What does this parsing do anyway?
Maybe if I did a similar install on a local linux pc, and the uploaded all the files it would work? But then again, maybe in some time it has to be run again, and I will be in trouble...

Olav Lognvik

Tuesday 13 September 2005 3:38:40 pm

I just installed 3.7.0rc2. Same problem :(

Kristian Hole

Wednesday 21 September 2005 6:43:36 am

The problem will persist, because the caching of the translations is the same for all 3.x series. What you can do is just click "reload", and eZ publish should continue where it was. You might need to hit reload a couple of times..

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Stefan S.

Saturday 08 October 2005 9:30:41 am

Hi,

I had the same problem with rc2 running on Windows 2003 Server with Apache 1.3.33 and PHP 4.4.0. The error comes after installation + configuration is successfully done and I access admin or user section for the first time.

I first installed it on a Pentium 3, 700 MHz, 512 MB machine. I thought it might be a performance issue so I installed is again on a dual Pentium 3, 1 GHz with 2 GB memory. Same problem.

This is my error:

<i>Fatal error: Maximum execution time of 30 seconds exceeded in d:\htdocs\webs\adjoint\lib\ezxml\classes\ezxml.php on line 166
Fatal error: eZ publish did not finish its request</i>

I put the timeout up to 999 seconds in php.ini. After about 20 to 30 minutes passed, it suddenly finished and I got to the admin section.

Best wishes

Stefan

Frederik Holljen

Saturday 08 October 2005 2:12:53 pm

There was a reference issue with all released 3.7 versions where generating the translation cache (if you choose a language other than english) would take a couple of minutes instead of 20-30 seconds. This has been resolved for the release next week.

Håvard Pedersen

Monday 17 October 2005 5:33:07 am

I'm still getting this on eZ 3.7.0 final bundled install. I'll try to up the timeout, just thought I'd let you know that you probably didn't fix it.

Edit: Seems like the "reload trick" worked fine. I changed the timeout, but it finished in about 20 seconds on my first try after that.

How unlikely it may seem, these are my actual opinions.

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