Bug #59070

Bootstrap Invalid cache identifier

Added by Dirk Wenzel over 6 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-05-23
Due date:
% Done:

0%

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

Description

After updating a TYPO3 instance from version 6.1.8 to 6.2.3 a call to \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->loadConfigurationAndInitialize() in a custom Ajax dispatcher crashes with the following debug message.

#1233057752: "" is not a valid cache entry identifier.

InvalidArgumentException thrown in file
/usr/local/share/php/typo3/typo3_src-6.2.3/typo3/sysext/core/Classes/Cache/Frontend/StringFrontend.php in line 73.

7 TYPO3\CMS\Core\Cache\Frontend\StringFrontend::get(NULL)

/usr/local/share/php/typo3/typo3_src-6.2.3/typo3/sysext/core/Classes/Package/PackageManager.php:

00258: $GLOBALS['TYPO3_currentPackageManager'] = $this;
00259: // Strip off PHP Tags from Php Cache Frontend

00260: $packageObjects = substr(substr($this->coreCache->get($packageCache['packageObjectsCacheEntryIdentifier']), 6), 0, -2);

00261: $this->packages = unserialize($packageObjects);
00262: foreach ($packageCache['activePackageKeys'] as $activePackageKey) {

6 TYPO3\CMS\Core\Package\PackageManager::loadPackageManagerStatesFromCache()

/usr/local/share/php/typo3/typo3_src-6.2.3/typo3/sysext/core/Classes/Package/PackageManager.php:

00125: $loadedFromCache = FALSE;
00126: try {

00127: $this->loadPackageManagerStatesFromCache();

00128: $loadedFromCache = TRUE;
00129: } catch (Exception\PackageManagerCacheUnavailableException $exception) {

5 TYPO3\CMS\Core\Package\PackageManager::initialize(TYPO3\CMS\Core\Core\Bootstrap)

/usr/local/share/php/typo3/typo3_src-6.2.3/typo3/sysext/core/Classes/Core/Bootstrap.php:

00312: $packageManager->injectCoreCache($this->getEarlyInstance('TYPO3\\CMS\\Core\\Cache\\CacheManager')->getCache('cache_core'));
00313: $packageManager->injectDependencyResolver(Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Package\\DependencyResolver'));

00314: $packageManager->initialize($this);

00315: Utility\GeneralUtility::setSingletonInstance('TYPO3\\CMS\\Core\\Package\\PackageManager', $packageManager);
00316: return $this;

4 TYPO3\CMS\Core\Core\Bootstrap::initializePackageManagement("TYPO3\CMS\Core\Package\PackageManager")

/usr/local/share/php/typo3/typo3_src-6.2.3/typo3/sysext/core/Classes/Core/Bootstrap.php:

00231: $this->initializeCachingFramework()
00232: ->initializeClassLoaderCaches()

00233: ->initializePackageManagement($packageManagerClassName)

00234: ->initializeRuntimeActivatedPackagesFromConfiguration();
00235:

3 TYPO3\CMS\Core\Core\Bootstrap::loadConfigurationAndInitialize()

[...]typo3conf/ext/placements/Classes/Utility/EidDispatcher.php:

00109: $TSFE->initTemplate();
00110: $TSFE->getConfigArray();

00111: \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->loadConfigurationAndInitialize();

Also available in: Atom PDF