CodeIgniter Forums

Full Version: DB Cache Dir
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

I've been searching the forums for any previous posts on this issue,

I'm trying to enable auto db cache in my config/database.php

$active_group = "default";

$db['default']['active_r'] = TRUE;
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = TRUE;
$db['default']['cachedir'] = "cache";

my absolute path would be this:

I figure this is fine since thats is the location and the folder is chmod to 777, I've tried different variations of the path to get it working, when I try with any path so far it gives me this error:

Quote:An Error Was Encountered

The cache path you submitted is not valid or writable.

Any help is appreciated.

El Forum

Just wondering if anyone has any clues about this?

Am I using the wrong path directive? or is there something I'm missing...