[TYPO3-english] PHP timeout while copying branch in backend
dmitry.dulepov at gmail.com
Wed Apr 17 16:51:02 CEST 2013
Philip Masser wrote:
> I wanted to copy a mid-sized branch in the backend (~100 pages), but got
> a ExtDirect-Exception, caused by a PHP timeout ("Fatal error: Maximum
> execution time of 60 seconds exceeded"). After a refresh of the page
> tree, I can see that the branch was partially copied, i.e. only a few
> pages exist in the copy...
> Searching for related problems, I could only find issues related with
> AJAX calls that are timed out too early (e.g.
> http://forge.typo3.org/issues/26993), but this is obviously not my
> problem here, as it still happens after upgrading (Typo3 4.5.25).
> Checking the patch mentioned in the bug-resolution, it seems like only
> the AJAX-timeout is increased, which does not change the PHP timeout...
> Do I have to increase the timeout in my php.ini for this to work? What
> to do in situations where you cannot modify php.ini?
It depends a lot on the extensions you have. Some extensions will do the
same thing on every copy operation. For example, if the extension updates
its tables with a timestamp of the change when the new element is inserted,
the performance will be very poor.
You can try switching off extensions for testing and see if it helps.
TYPO3 CMS core & security teams member
More information about the TYPO3-english