Project

General

Profile

Actions

Bug #25287

closed

error when using t3lib_TCEmain->clear_cacheCmd in CLI mode

Added by Daniel Schöne about 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2011-03-09
Due date:
% Done:

0%

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

Description

it should be checked that TYPO3 is not running in CLI mode before writing to log

if (!defined('TYPO3_cliMode')) {
$this->BE_USER->writelog(3, 1, 0, 0, 'User %s has cleared the cache (cacheCmd=%s)', array($this->BE_USER->user['username'], $cacheCmd));
}

related to http://bugs.typo3.org/bug_view_page.php?bug_id=16832
(issue imported from #M17900)


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