FluidTYPO3 / flux

TYPO3 extension Flux: Dynamic Fluid FlexForms
https://fluidtypo3.org
146 stars 212 forks source link

Flux is breaking Translation #673

Closed Mojo1 closed 9 years ago

Mojo1 commented 9 years ago

I was running into memory problems when opening a content element in a other language but default. After asigning temporarily 1G memory it was working but took ages. After some debugging i found out that flux was the reason.

Debugged it down to: /typo3_src-6.2.4/typo3/sysext/backend/Classes/Utility/BackendUtility.php Line 2082 $records = self::getRecordsByField($theColConf['foreign_table'], $theColConf['foreign_field'], $uid);

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 256 bytes) in /var/www/typo3_src-6.2.4/typo3/sysext/core/Classes/Database/DatabaseConnection.php on line 1038 Call Stack

Time Memory Function Location

1 0.0003 133168 {main}( ) ../alt_doc.php:0 2 0.3227 10706484 TYPO3\CMS\Backend\Controller\EditDocumentController->main( ) ../alt_doc.php:40 3 0.3472 13153056 TYPO3\CMS\Backend\Controller\EditDocumentController->makeEditForm( ) ../EditDocumentController.php:698 4 0.5959 14002136 TYPO3\CMS\Backend\Form\FormEngine->getMainFields( ) ../EditDocumentController.php:902 5 0.7034 16756992 TYPO3\CMS\Backend\Form\FormEngine->getSingleField( ) ../FormEngine.php:951 6 0.8887 16766268 TYPO3\CMS\Backend\Form\FormEngine->renderDefaultLanguageContent( ) ../FormEngine.php:1284 7 0.8887 16766324 TYPO3\CMS\Backend\Utility\BackendUtility::getProcessedValue( ) ../FormEngine.php:4052 8 0.8887 16766528 TYPO3\CMS\Backend\Utility\BackendUtility::getRecordsByField( ) ../BackendUtility.php:2082 9 3.5546 268415304 TYPO3\CMS\Core\Database\DatabaseConnection->sql_fetch_assoc( ) ../BackendUtility.php:177 10 3.5546 268415332 fetch_assoc ( ) ../DatabaseConnection.php:1038

xf- commented 9 years ago

Hi, i never seen this before. Do you still experience the same problem in stable version of TYPO3 and flux?

xf- commented 9 years ago

Translation works fine in my test setup and live systems. Please provide more informations and use current T3 version and FT3 extensions. No other report about that problem.