Issue Bug Rejected

#28324Autoloader cache is not cleared

Steffen Gebert 07/19/11, 22:38 updated 07/20/11, 12:51

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.