Project

General

Profile

Actions

Bug #65153

closed

Fatal in install tool if options have been set for cache_classes or cache_core

Added by Christian Kuhn almost 10 years ago. Updated about 6 years ago.

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #65149: Invalid cache backend option "compression" for backend of type \TYPO3\CMS\Core\Cache\Backend\FileBackendClosed2015-02-18

Actions
Actions

Also available in: Atom PDF