Closed (cannot reproduce)
Project:
fastpath_fscache
Version:
5.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2008 at 13:31 UTC
Updated:
21 Sep 2012 at 14:11 UTC
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
Comment #1
2c commentedOkay, 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?
Comment #2
kenorb commentedNormally 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.
Comment #3
kenorb commented