Details
-
Bug
-
Resolution: Invalid
-
High
-
5.2-dev
-
Server OS: Red Hat 6.4
PHP: 5.3.3
Database: MySQL 5.1.61
Browser: any
Description
Apparently Apc stash handler is not present on eZ Publish 5.2, if you try to run
php ezpublish/console config:dump-reference stash
you'll get the following list of available caches
Default configuration for extension with alias: "stash" stash: default_cache: ~ logging: ~ caches: # Prototype name: handlers: # Default: - FileSystem registerDoctrineAdapter: false registerSessionHandler: false inMemory: true BlackHole: [] Ephemeral: [] FileSystem: dirSplit: 2 path: %kernel.cache_dir%/stash filePermissions: 432 dirPermissions: 504 memKeyLimit: 200 SQLite: filePermissions: 432 dirPermissions: 504 busyTimeout: 500 nesting: 0 subhandler: PDO version: ~ path: %kernel.cache_dir%/stash
and if you try to use it, you'll get the following error:
[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException] Invalid configuration for path "stash.caches.default.handlers.0": A handler of that name is not registered. [InvalidArgumentException] A handler of that name is not registered
This was present on eZ Publish 5.1, since the list of available caches is the following:
Default configuration for extension with alias: "stash" stash: default_cache: ~ caches: # Prototype name: handlers: # Default: - FileSystem registerDoctrineAdapter: false inMemory: true Apc: ttl: 300 namespace: ~ BlackHole: [] Ephemeral: [] FileSystem: dirSplit: 2 path: %kernel.cache_dir%/stash filePermissions: 432 dirPermissions: 504 memKeyLimit: 200 SQLite: filePermissions: 432 dirPermissions: 504 busyTimeout: 500 nesting: 0 subhandler: PDO version: ~ path: %kernel.cache_dir%/stash
Attachments
Issue Links
- testing discovered
-
EZP-20324 As a user I would like that SPI calls are cached
- Closed