Issue Bug Closed

#62348much text in TypoScript cause "Fatal error: Can not redeclare class ..."

Dieter Porth 10/20/14, 11:41 updated 08/02/15, 21:15

Description

Recently I got suddenly during development under XAMPP with TYPO6.2.4 on white screen following error message, ich i call my website. (XAMPP, TYPO3 6.2.4)

Fatal error: Can not redeclare class TYPO3 \ CMS \ Core \ Exception in C: \ xampp \ htdocs \ typo3_src-6.2.4 \ typo3 \ sysext \ core \ Classes \ Exception.php on line 23

The Cause was the follgoing TypoScript definition.

lib.config.javascript.init = TEXT
lib.config.javascript.init.value (
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
)
If I delete one charater in the definition above, the website works fine.

The lib is not used for the rendering of the website. It will only be used in a page with a special typeNum-definition.

The fatal error will occur after insertion of constants {$constant}.

Dieter

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.