Issue Bug Closed

#54132TS Template causes Ajax-Error when saving to external file via TS-Editor

Elmar Putz 12/02/13, 12:05 updated 12/02/13, 13:50

Description

Hi,

we have a setup, where all TS-Code is stored in external files but we are using the built-in-backend editor for editing the code (“Include Typoscript file content” is activated) . With the latest update to 6.1.6, it is no longer possible to save the code. We have re-checked the file permissions on the server, but the editor hangs on save and the file will not be updated.

Saving of TS code works again, when the “INCLUDE_TYPOSCRIPT” directives at the beginning and end of the code are removed.
Editing the files directly via external editor works too. We observed the saving operation with a javascript console and we found out, that the correspondant ajax request causes an “internal server error (500)”. Exploring the server logs, we found the following entry caused by the operation:

[02-Dec-2013 12:02:19 Europe/Berlin] PHP Fatal error: Class ‘TYPO3\CMS\Core\TypoScript\Parser\GeneralUtility’ not found in ……/www/typo3_src/typo3_src-6.1.6/typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php on line 895

Regards
Elmar Putz

Reviews 2