eZpedia : The Free eZ Publish CMS Documentation Encyclopedia

Maximum execution time exceeded

This is a Stub article. Help the eZ Publish community by expanding it!

Sometimes loading a page takes very long and then finally you get a fatal PHP error "Maximum execution time of 30 seconds exceeded". What to do now?

General solution

Increasing the max_execution_time PHP setting will mostly fix this problem. If this is not an option at your server, then take a look at the specific solutions below.

Specific solutions

Enabling translations

The first time you enable translations for a siteaccess, the QT linguist .ts files containing the translations are cached to .php files, making them much faster to retrieve. You can generate the translation cache files from the command line to prevent timeouts, with the PHP script bin/php/ezgeneratetranslationcache.php.

External references

Article provided by eZpedia

All text is available under the terms of the GNU Free Documentation License

Powered by eZ Publish Community Project 4.2011

Hosted by Swiss eZ Publish partner YMC