No files are being created in my cache folder. My settings.php file contains:

$conf = array(
'page_cache_fastpath' => 1,
'cache_inc' => 'modules/fastpath_fscache/cache.fs.inc',
'file_cache' => '/tmp',
);

Should I create a tmp folder with the appropriate write/read permissions or does this module automatically create one?

Comments

2c’s picture

Okay, I got it to work.

I'm on a shared server and Drupal is installed at the root of my domain.
I created a folder named 'tmp' at the same level (root level in my instance) as the modules folder and gave it 777 permissions. This is probably the wrong permissions to give it, maybe somebody more experienced can check this.

Then, I changed the following bit of code(recommended during the install process of the fscache module) in settings.php:

'file_cache' => '/tmp',

to this:

'file_cache' => 'tmp',

Perhaps the problem in the first instance was the leading slash?

kenorb’s picture

Status: Active » Needs review

Normally you should have read-write access to /tmp dir.
It's not a slash problem, because somebody could not have tmp dir in Drupal path, so the problem will be the same.
Path have to be customized depends of the environment that you have.
Read INSTALL.txt for more info.
---
Change your file_cache dir to: ./sites/default/files/cache
and check if this will help.

kenorb’s picture

Status: Needs review » Closed (cannot reproduce)