Bug #65153
closedFatal in install tool if options have been set for cache_classes or cache_core
100%
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
Updated by Gerrit Code Review almost 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36999
Updated by Christian Kuhn almost 10 years ago
- Sprint Focus set to Stabilization Sprint
Updated by Gerrit Code Review almost 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37000
Updated by Christian Kuhn almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 34ecc5dd82742b4cb75d90f8fdfc0de97ec0f32d.