Project

General

Profile

Actions

Bug #28324

closed

Autoloader cache is not cleared

Added by Steffen Gebert almost 13 years ago. Updated almost 13 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2011-07-19
Due date:
% Done:

0%

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

Description

Installation of TYPO3 fails in Step 1 with

Fatal error: Class 'tx_dbal_querycache' not found in typo3/sysext/dbal/class.ux_t3lib_db.php on line 239

That's because DBAL activates itself (tx_dbal_autoloader::activateDbal()), but the autoloader cache is not flushed.

Calling

$GLOBALS['typo3CacheManager']->getCache('cache_phpcode')->flushByTag('t3lib_autoloader');

somewhere in updateExtensionList() solves the problem.

Maybe the better place is t3lib_extMgm::removeCacheFiles();, however, I'm not sure about this.


Related issues 2 (0 open2 closed)

Is duplicate of TYPO3 Core - Bug #28187: Clear autoloader cache if dbal is loaded in 1-2-3ClosedChristian Kuhn2011-07-13

Actions
Is duplicate of TYPO3 Core - Bug #28266: When an extension is installed or removed, the autoloader cache must be flushedClosed2011-07-17

Actions
Actions #1

Updated by Steffen Gebert almost 13 years ago

Maybe this is related to APC opcode caching.. Just an idea, in case of you can't reproduce.

EDIT: Well, nope ;) So I hope, you can reproduce.

Actions #2

Updated by Steffen Gebert almost 13 years ago

  • Status changed from New to Rejected

duplicate

Actions

Also available in: Atom PDF