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 #1

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

Actions #2

Updated by Christian Kuhn almost 10 years ago

  • Sprint Focus set to Stabilization Sprint
Actions #3

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

Actions #4

Updated by Christian Kuhn almost 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF