Reputation: 108
I cannot figure this one out ... that means it's got to be an easy one, right?!
Problem: Cake not writing files to file cache.
Configuration:
//app/Config/core.php
Configure::write('debug', 0);
Configure::write('Cache.disable', true);
Configure::write('Cache.check', true);
//app/Config/bootstrap.php
Cache::config('default', array('engine' => 'File'));
//app/Controller/CategoriesController.php, 'view' method:
public function view($id = null) {
$this->helpers[] = 'Format';
$this->helpers[] = 'Cache';
$this->cacheAction = "3600";
....
}
Perms on the app/tmp/cache/* are 0777. world writable.
But still not files being written to cache .... what am I missing??
DJC
Upvotes: 0
Views: 2296
Reputation: 3710
Configure::write('Cache.disable', true);
You don't know why the cache is not being written...?
Upvotes: 5