Closed (fixed)
Project:
File Cache
Version:
8.x-1.1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2024 at 17:27 UTC
Updated:
9 May 2026 at 11:10 UTC
Jump to comment: Most recent
I install filecache and add this lines to settings.php
$settings['cache']['default'] = 'cache.backend.file_system';
$settings['filecache_paths']['default'] = '../filecache';After that I had "unexpected error".
The errors I found are:
In FileSystemBackendFactory.php line 119:
No path has been configured for the file system cache backend.
and
In Container.php line 157:
You have requested a non-existent service "cache.backend.file_system".What I did wrong?
Comments
Comment #2
vasyok commentedComment #3
jejddx commentedHi,
Use
$settings['filecache']['directory']['default']instead of$settings['filecache_paths']['default']Comment #4
jejddx commentedComment #5
pfrenssenThanks @jejddx for helping out! In the meantime the documentation on the project page has been corrected.