I enabled query caching in CodeIgniter via the application/config/database.php file and it worked. I then disabled it, and commented out the folder path. When I then re-enabled caching and un-commented the folder path, caching would not work.
I have tried other directories. This is an issue on both local, and web servers.
$db['default']['cache_on'] = TRUE;
$db['default']['cachedir'] = './application/cache/';
These is my database.php settings. I have tried removing the '.' from the beginning of the string. I have also tried removing the trailing and preceding slashes.
Any help would be much appreciated. Thank you.
Edit: I know the folder is writable as storing a full page cache works.
$this->output->cache(100);, it writes to the folder. I emptied the cache directory too, and still nothing. Enabling logging produces no errors.