Project

General

Profile

Actions

Bug #25114

closed

[Patch] Fatal error in /t3lib/class.t3lib_tcemain.php on line 6774

Added by Kay Strobach about 13 years ago. Updated almost 10 years ago.

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

0%

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

Description

using comments or ve_guestbook or other extensions which try to clear the cache with tce_main results in an error in the front end, as the be_user object doesn't exist.

extending the line 6774 in that file with the following if should solve the problem:

if(is_a($this->BE_USER,'t3lib_userAuth')) {
$this->BE_USER->writelog(3, 1, 0, 0, ...
}

Perhaps it was early enough for 4.5.1 - hope so
regards
Kay

(issue imported from #M17683)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #24406: error when using t3lib_TCEmain->clear_cacheCmd in frontendClosedSteffen Gebert2010-12-23

Actions
Actions #1

Updated by Marc Bastian Heinrichs about 13 years ago

This needs to be fixed in the extensions and is fixed in EXT:comments http://forge.typo3.org/projects/extension-comments/repository/revisions/41930

Actions #2

Updated by Kay Strobach about 13 years ago

as this was a breaking change, perhaps a solution would be to add an deprecation log entry if there is no be-user defined?

Anyway, you're right that this must be fixed in the extensions.

Actions #4

Updated by Alexander Opitz almost 10 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • Is Regression set to No

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.3)?

BTW: As I understand this isn't a core issue it needed to be fixed in the extensions?

Actions #5

Updated by Kay Strobach almost 10 years ago

both extensions are fixed - afaik this can be closed now
sadly i can't close my issues myself ;)

Actions #6

Updated by Alexander Opitz almost 10 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF