Project

General

Profile

Actions

Bug #51829

closed

TCEmain::log relies on active BE_USER

Added by Stefan Neufeind about 11 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-09-07
Due date:
% Done:

0%

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

Description

Several developers abuse t3lib_TCEmain and instantiate it also in other
contexts than BE, for which it never was made.
As this breaks several extensions that use it in FE or CLI mode and the
fix is trivial, avoid crashing.

In case logging is enabled but there exists no BE_USER, simply prevent logging.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #28007: TCEmain::clear_cacheCmd relies on active BE_USERClosed2011-07-08

Actions
Actions

Also available in: Atom PDF