Project

General

Profile

Actions

Bug #62348

closed

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

Added by Dieter Porth over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2014-10-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

Actions

Also available in: Atom PDF