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

khiustin’s picture

The same issue for me (D7 install). The same message and the site in "crash!!, white screen" mode. Any help?

timoguic’s picture

@khiustin: you can create the 'filecache' directory manually (in the site settings folder iirc).

ogi’s picture

Yes, 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.

ogi’s picture

Status: Active » Closed (fixed)

Fixed in alpha2.

JohnnyBlogWallah’s picture

On 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.

ogi’s picture

Status: Closed (fixed) » Active

@JohnnyBlogWallah please paste here the added code in settings.php for both Domain Access and File Cache.

JohnnyBlogWallah’s picture

@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.

jeffwidman’s picture

subscribe

omercioglu’s picture

sub

ogi’s picture

Status: Active » Closed (fixed)

I gave up on wizard-like guidance in Status report page and removed it. README.txt is reworked to be more helpful and precise. (6e58ac)