[TYPO3-dev] large import in L10N Manager fails in TCEmain
Jigal van Hemert
jigal at xs4all.nl
Wed Nov 19 13:04:02 CET 2008
Importing a large XML translation file in L10N Manager failed because of
exceeding the maximum execution time limit.
PHP Fatal error: Maximum execution time of 30 seconds exceeded in
/<path_to_typo3>/typo3_src-4.1.6/t3lib/class.t3lib_tcemain.php on line
2489, referer:
http://<domain.ext>/typo3conf/ext/l10nmgr/cm1/index.php?id=1&srcPID=0
I suspect that the problem is in the calls:
tx_l10nmgr_l10nBaseService::saveTranslation() ->
tx_l10nmgr_l10nBaseService::_submitContentAndGetFlexFormDiff() ->
t3lib_TCEmain::process_datamap() -> t3lib_TCEmain::process_cmdmap() ->
t3lib_TCEmain::localize() -> t3lib_TCEmain::copyRecord()
In t3lib/class.t3lib_tcemain.php in the process_datamap() function on line
630 foreach loops through each element in the table. Add
set_time_limit(ini_get('max_execution_time') != '' ?
ini_get('max_execution_time') : 30);
to inner loop to allow processing of large bulks (large imports)?
BTW Can't file a bug report for the time being, because of "the t3org
issue". :-)
Please let me know where this should be fixed and if possible how...
--
Jigal van Hemert.
More information about the TYPO3-dev
mailing list