Actions
Bug #65153
closedFatal in install tool if options have been set for cache_classes or cache_core
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2015-02-18
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Stabilization Sprint
Description
Reproduce:
Set an option to cache_classes or cache_core in cacheConfiguration of LocalConfiguration.php. This is useful if those caches should be located outside document root - for security reasons or for multi-head webserver instances where this directory should not be shared.
LocalConfiguration:
'SYS' => array( 'caching' => array( 'cacheConfigurations' => array( 'cache_classes' => array( 'options' => array( 'cacheDirectory' => '/tmp/', ), ), ), ),
With this setting, calling the install tool will result in a fatal error:
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Invalid cache backend option "cacheDirectory" for backend of type "TYPO3\CMS\Core\Cache\Backend\TransientMemoryBackend"' in /myDocRoot/typo3/sysext/core/Classes/Cache/Backend/AbstractBackend.php on line 77
Actions