Actions
Bug #28324
closedAutoloader cache is not cleared
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.
Actions