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

VasyOK created an issue. See original summary.

vasyok’s picture

Issue summary: View changes
jejddx’s picture

Hi,

Use $settings['filecache']['directory']['default'] instead of $settings['filecache_paths']['default']

jejddx’s picture

pfrenssen’s picture

Status: Active » Fixed

Thanks @jejddx for helping out! In the meantime the documentation on the project page has been corrected.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.