It seems that the prefix setting is virtually ignored. I've waded through the code and found too many instances of "cake_" being hard coded to want to try to modify it.
I found what seems like a more promising approach that has only worked partially. My goal is to allow for caches for multiple instances of the app using the server tmp directory. The approach that partially worked is changing the path of the cache as follows in cake/config/ paths.php. Original: define('CACHE', TMP.'cache'.DS); Modified: define('CACHE', TMP.'cache_alt1'.DS); The problem is that it only works once. Using alt2 in another instance has no effect and that instance of the application ends up functioning without a cache. Does anyone have any idea why? On Dec 18, 8:05 am, Kawina <kawina...@gmail.com> wrote: > Any help? Thanks. > > On Dec 17, 9:12 am, Kawina <kawina...@gmail.com> wrote: > > > I'm new to CakePHP and my little knowledge is derived from minor > > modifications to an app created by someone else. Accordingly, my > > familiarity with thecachesystem is limited. > > > My search of this group on the issue only yielded old bugs that I hope > > have been subsequently fixed. > > > I tried adding a prefix in /app/config/core.php. I changed it in > > accordance with the documentation as follows: > > Original:Cache::config('default', array('engine' => 'File', 'path' => > >CACHE) ); > > Change:Cache::config('default', array('engine' => 'File', 'path' => > >CACHE, 'prefix' => 'uat_') ); > > > However, that has had no effect. A typicalcachefile looks like this: > > cake_core_default_eng (in /persistent). > > > I'm surprised by the "cake_" prefix. Is that the default when no > > prefix is defined? > > > Are there other files to modify? Is it possible that the configuration > > is in acachefile that should be deleted, and if so which one? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en