1.7.0 Warning: set time limit():
From Joomla! Documentation
Revision as of 08:43, 20 July 2011 by AmyStephen
During upgrade, some are getting errors like this:
Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/sfw/apache2/http/hhh.hh.com/htdocs/libraries/joomla/filesystem/folder.php on line 548
Warning: set_time_limit() has been disabled for security reasons in /home/www/88f713b69e9666e8466e69535bceeda4/web/new/libraries/joomla/filesystem/folder.php on line 548
The first error is when safe mode is enabled on the server. Safe mode must be off as indicated on the first installer screen.
The second error is for hosting setttings which have disabled set_time_limit.
Joomla community member Mackelito offers a work around if your host cannot enable set_time_limit for you.
The change was made to prevent timeouts for some hosts which was causing the install to fail. A fix should be available in future releases to first see if the class is enabled before setting the value.