Closed (fixed)
Project:
File Cache
Version:
7.x-1.0-alpha1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2011 at 12:31 UTC
Updated:
25 Apr 2011 at 11:03 UTC
Hi,
Installed the module on a fresh Drupal 7 install (SQLite).
Activated it and read the instructions in the status report, prompting to make changes the settings.php file. I made the changes as indicated, and I can only see:
"No filecache_directory and unability to setup default one."
I guess this has to see with permissions.
"These instructions are meant to be complete so if they are not enough, file issue against File Cache module." :-)
Thanks!
Comments
Comment #1
khiustin commentedThe same issue for me (D7 install). The same message and the site in "crash!!, white screen" mode. Any help?
Comment #2
timoguic commented@khiustin: you can create the 'filecache' directory manually (in the site settings folder iirc).
Comment #3
ogi commentedYes, this part of instructions is unclear. Should be something like "setup default one (sites/SITENAME/filecache). Most probably your PHP doesn't have permission to create directory in sites/SITENAME". This will be fixed in alpha2. Leaving this issue open since there's no committed code yet.
WSOD is very bad indeed. I'll modify the logic so that when something is wrong all cache retrievals return "not found" and critical errors are reported to watchdog.
Comment #4
ogi commentedFixed in alpha2.
Comment #5
JohnnyBlogWallah commentedOn the settings.php it seems that the quoted code needs to be added immediately beneath the original Drupal code in this file.
I had the code for Domains module at the bottom and it does not like going after this. It throws an error page.
However, having set up the filecache directory in sites/filecache it seems to be happy BUT
It says the file size of the directory is unknown and it needs to run cron.
When you run cron it throws another error, although it seems that cache files are being written to the directory.
Any ideas welcome.
Comment #6
ogi commented@JohnnyBlogWallah please paste here the added code in
settings.phpfor both Domain Access and File Cache.Comment #7
JohnnyBlogWallah commented@ogi
Apologies for not coming back to you sooner on this.
The Domain Access code at the bottom of the settings.php file is:
include './sites/all/modules/domain/settings.inc';
I have removed FileCache for now, but I simply used the two lines which it generated on installation, so I guess you will know these.
If it helps, I can install it again and get back to you.
Thanks and best wishes.
Comment #8
jeffwidman commentedsubscribe
Comment #9
omercioglu commentedsub
Comment #10
ogi commentedI gave up on wizard-like guidance in Status report page and removed it.
README.txtis reworked to be more helpful and precise. (6e58ac)