Re: Update gone wrong.
Hey man, could you solve this? I'm currently having a very similar problem. On Nov 30 2007, 7:33 pm, Mech7 [EMAIL PROTECTED] wrote: I have in webroot index.php define ('CAKE_CORE_INCLUDE_PATH', 'C:' . DS .'wamp'. DS .'www'. DS .'cake_1.2'); When i look at the framework even if cache is not configured it should fall back to th default file caching.. But still i have in core.php Cache::config('default', array('engine' = 'File')); Even with: Configure::write('Cache.disable', true); It still does not work.. it can't read the cache configuration.. even though all it is supposed to do is throw up an error and revert to default file caching.. cause if you look in bootstrap.php in the framework.. on line 51: if(Configure::read('Cache.disable') !== true) { $cache = Cache::settings(); if(empty($cache)) { trigger_error('Cache not configured properly. Please check Cache::config(); in APP/config/core.php', E_USER_WARNING); Cache::config('default', array('engine' = 'File')); } } On Nov 29, 6:21 pm, Chris Hartjes [EMAIL PROTECTED] wrote: On Nov 29, 2007 11:55 AM, Mech7 [EMAIL PROTECTED] wrote: Does anybody allready solve this? even with a total new setup this problems still occurs.. i opened a ticket but it was closed because not enough info? But really how can i provide more if i don't know what is the problem :| I have no problem running my app in one directory and having cake in another, so I have no idea what may bewronghere. Cache::config('default', array('engine' = 'File')); I did this and have no problems. Cake core is in Sites/cake Applications are in Sites/appname I changed Sites/appname/config/core.php and added a line at the very end of it Cache::config(); I changed Sites/appname/webroot/index.php to have this define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'cake'); Everything works just fine. No warnings, etc. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard -http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
Hello, i do an update today, I have the same problem when i eparate cake lib and apps 2 messages : Warning (512): Cache not configured properly. Please check Cache::config(); in APP/config/core.php [C:\wamp\www\cakephp\cake\libs \configure.php, line 630] Your cache is NOT working. Please check the settings in APP/config/ core.php anybody knows how to solve it ?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
Hey i updated today to the latest nightly now.. and now indeed this code is not in bootstrap anymore, and now it finally works again :D Thanks for the help :) On Dec 1, 3:12 am, Chris Hartjes [EMAIL PROTECTED] wrote: On Nov 30, 2007 9:10 PM, Chris Hartjes [EMAIL PROTECTED] wrote: On Nov 30, 2007 7:33 PM, Mech7 [EMAIL PROTECTED] wrote: It still does not work.. it can't read the cache configuration.. even though all it is supposed to do is throw up an error and revert to default file caching.. Hrm, you have provided me with a clue here. I do not have the Configure::write('Cache.disable', true) command in *my* config.php. So that trigger_error() statement in bootstrap will never show up. I just checked and it is in cake/app/config/core.php, but I don't use that file at all. My own config/core.php file that is the app directory for my project doesn't have that line in it at all. Interesting... -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard -http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
I have in webroot index.php define ('CAKE_CORE_INCLUDE_PATH', 'C:' . DS .'wamp'. DS .'www'. DS .'cake_1.2'); When i look at the framework even if cache is not configured it should fall back to th default file caching.. But still i have in core.php Cache::config('default', array('engine' = 'File')); Even with: Configure::write('Cache.disable', true); It still does not work.. it can't read the cache configuration.. even though all it is supposed to do is throw up an error and revert to default file caching.. cause if you look in bootstrap.php in the framework.. on line 51: if(Configure::read('Cache.disable') !== true) { $cache = Cache::settings(); if(empty($cache)) { trigger_error('Cache not configured properly. Please check Cache::config(); in APP/config/core.php', E_USER_WARNING); Cache::config('default', array('engine' = 'File')); } } On Nov 29, 6:21 pm, Chris Hartjes [EMAIL PROTECTED] wrote: On Nov 29, 2007 11:55 AM, Mech7 [EMAIL PROTECTED] wrote: Does anybody allready solve this? even with a total new setup this problems still occurs.. i opened a ticket but it was closed because not enough info? But really how can i provide more if i don't know what is the problem :| I have no problem running my app in one directory and having cake in another, so I have no idea what may bewronghere. Cache::config('default', array('engine' = 'File')); I did this and have no problems. Cake core is in Sites/cake Applications are in Sites/appname I changed Sites/appname/config/core.php and added a line at the very end of it Cache::config(); I changed Sites/appname/webroot/index.php to have this define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'cake'); Everything works just fine. No warnings, etc. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard -http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
On Nov 30, 2007 9:10 PM, Chris Hartjes [EMAIL PROTECTED] wrote: On Nov 30, 2007 7:33 PM, Mech7 [EMAIL PROTECTED] wrote: It still does not work.. it can't read the cache configuration.. even though all it is supposed to do is throw up an error and revert to default file caching.. Hrm, you have provided me with a clue here. I do not have the Configure::write('Cache.disable', true) command in *my* config.php. So that trigger_error() statement in bootstrap will never show up. I just checked and it is in cake/app/config/core.php, but I don't use that file at all. My own config/core.php file that is the app directory for my project doesn't have that line in it at all. Interesting... -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
On Nov 30, 2007 7:33 PM, Mech7 [EMAIL PROTECTED] wrote: It still does not work.. it can't read the cache configuration.. even though all it is supposed to do is throw up an error and revert to default file caching.. Hrm, you have provided me with a clue here. I do not have the Configure::write('Cache.disable', true) command in *my* config.php. So that trigger_error() statement in bootstrap will never show up. Why do you have that in there? As far as I can tell the only cache-related stuff in core/config.php is define(CACHE_CHECK, true|false) Is there documentation out there that says to put Configure::write('Cache.disable', true) in your core.php file? -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
Does anybody allready solve this? even with a total new setup this problems still occurs.. i opened a ticket but it was closed because not enough info? But really how can i provide more if i don't know what is the problem :| --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
On Nov 29, 2007 11:55 AM, Mech7 [EMAIL PROTECTED] wrote: Does anybody allready solve this? even with a total new setup this problems still occurs.. i opened a ticket but it was closed because not enough info? But really how can i provide more if i don't know what is the problem :| I have no problem running my app in one directory and having cake in another, so I have no idea what may be wrong here. Cache::config('default', array('engine' = 'File')); I did this and have no problems. Cake core is in Sites/cake Applications are in Sites/appname I changed Sites/appname/config/core.php and added a line at the very end of it Cache::config(); I changed Sites/appname/webroot/index.php to have this define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'cake'); Everything works just fine. No warnings, etc. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
Thanks but i have tried all of them.. I use nightly build, i have set the core.php config for cache, the dirs are there and writable.. i just don't know what to do anymore :| it does run ok when it is in the same dir.. only not when i place cake in a outside dir.. then it can't read the cache config anymore :( Even with the exact smae config you posted still the problem: Warning: Cache not configured properly. Please check Cache::config(); in APP/config/core.php in C:\wamp\www\cake_1.2\cake\bootstrap.php on line 53 Fatal error: Call to undefined method Cache::config() in C:\wamp\www \cake_1.2\cake\bootstrap.php on line 54 On Nov 16, 1:44 am, Chris Hartjes [EMAIL PROTECTED] wrote: On Nov 15, 2007 6:25 PM, Mech7 [EMAIL PROTECTED] wrote: Did anybody allready found a fix for this? 1.2 still does not want to run with me outside the app dir :| Perhaps I'm just lucky and Murphy is smiling down on me from above, but I am using the latest version of CakePHP via SVN *and* have my cake directory outside of app and I have NO problems getting my stuff to work. I followed all the notices that Cake threw when I updated the Cake core, changed the code that it mentioned and that was it. Really. In fact, here's my config file for everyone to see: http://bin.cakephp.org/view/1205137498 I continue to be baffled by the problems people seem to be experiencing when my own configuration has been just fine. I've found three things that help 1) pay attention to the warning messages that CakePHP spits out as they usually point at the problem When I upgraded, I saw lots of warnings about deprecated functionality and suggestions on how to get rid of those problems. Those error messages are there for a reason, ignore them at your own peril. They tell you EXACTLY what to do. 2) permissions for the tmp directory really do matter Use the firehose permission level if you're on some sort of UNIXy system: chmod -R 777 $APP/tmp 3) make sure you do your dev work with the debug level to 1 and save debug level 0 for your production apps. That little tip will mean you will never have to mess around with deleting and recreating your $APP/tmp directory. I hope this helps those who seem to be struggling to get their CakePHP configurations to work properly. I did all the things above I mentioned and continue to have smooth sailing whenever I upgrade from SVN (which is usually every morning). -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard -http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
Did anybody allready found a fix for this? 1.2 still does not want to run with me outside the app dir :| --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
I think it is also because : $cache = Cache::settings(); This never gets filled i think because there is no settings function in cache.php? Cache::config('default', array('engine' = 'File')); after the trigger error its sets it to default, but it does not work: Fatal error: Call to undefined method Cache::config() in C:\wamp\www \cake_1.2\cake\bootstrap.php on line 54 I don't see a config function in cache.php? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
On Nov 15, 2007 6:25 PM, Mech7 [EMAIL PROTECTED] wrote: Did anybody allready found a fix for this? 1.2 still does not want to run with me outside the app dir :| Perhaps I'm just lucky and Murphy is smiling down on me from above, but I am using the latest version of CakePHP via SVN *and* have my cake directory outside of app and I have NO problems getting my stuff to work. I followed all the notices that Cake threw when I updated the Cake core, changed the code that it mentioned and that was it. Really. In fact, here's my config file for everyone to see: http://bin.cakephp.org/view/1205137498 I continue to be baffled by the problems people seem to be experiencing when my own configuration has been just fine. I've found three things that help 1) pay attention to the warning messages that CakePHP spits out as they usually point at the problem When I upgraded, I saw lots of warnings about deprecated functionality and suggestions on how to get rid of those problems. Those error messages are there for a reason, ignore them at your own peril. They tell you EXACTLY what to do. 2) permissions for the tmp directory really do matter Use the firehose permission level if you're on some sort of UNIXy system: chmod -R 777 $APP/tmp 3) make sure you do your dev work with the debug level to 1 and save debug level 0 for your production apps. That little tip will mean you will never have to mess around with deleting and recreating your $APP/tmp directory. I hope this helps those who seem to be struggling to get their CakePHP configurations to work properly. I did all the things above I mentioned and continue to have smooth sailing whenever I upgrade from SVN (which is usually every morning). -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
DId anybody allready found a solution for thi :( ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
im kinda facing similar problem once i uploaded cake 1.2 pre-beta in the server,. this bellow msg im getting which is really weird... Warning (2): loadcomponent(D:\apache\htdocs\sample\cake\libs\controller \components\session.php) [function.loadcomponent]: failed to open stream: No such file or directory [CORE/cake/basics.php, line 577] i have deleted tmp files . given local directory is ok but why its showing in the server !!?? and i didnt use this absolute path anywhere in cake !! any idea ? thx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
mmm strange i tried it and the problem only occurs when the cake dir is outside the app dir.. when the app dir is togheter with the new version of 1.2 it does work? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
Me too.. the cache dir is still there.. and the config is set and still this error :( On Oct 22, 1:38 pm, Charlie van de Kerkhof [EMAIL PROTECTED] wrote: Still have this problem. Warning (512):Cachenotconfigured. Please useCache::config(); in APP/config/core.php [CORE/cake/bootstrap.php, line 52] But the other one is dissapeared when removing thecachefiles. My directory in tmp is still intact Maybe because I disable mycachebut Cake still needs some sort ofcacheconfig? - Charlie On Oct 22, 1:29 pm, LS [EMAIL PROTECTED] wrote: I got this problem once... The cause is that i deleted everything under tmp... Including the cachedir. If thecachedir isnotthere. Cake will give out an error, and doesnotcreate the directory. Try creating it, then you problem SHOULD be fixed. =) Regards, - Sergio On Oct 22, 8:22 am, Charlie van de Kerkhof [EMAIL PROTECTED] wrote: I have the same problem and the solution of nate didn't help. I think this is a bug but I don't know for sure: (latest svn version of 1.2.x.x. branches) In APP/config/core.php: - Configure::write('Cache.disable', true); -Cache::config('default', array('engine' = 'File')); Gives the warning 512 where [EMAIL PROTECTED] talked about. Warning (512):Cachenotconfigured. Please useCache::config(); in APP/config/core.php [CORE/cake/bootstrap.php, line 52] and Warning (2): Cannot modify header information - headers already sent by (output started at /.../APP/cake/basics.php:773) But if I configure the lines below my app does work: - Configure::write('Cache.disable', false); -Cache::config('default', array('engine' = 'File')); Is this ok? Or is it a bug? thnx! - Charlie On Oct 16, 11:54 pm, nate [EMAIL PROTECTED] wrote: You don't need to modify any core CakePHP files. Just remove the $cakeCache var from core.php, and add the following: Cache::config('default', array('engine' = 'File')); You might want to just replace your core.php with a fresh copy from the latest nightly and re-input your settings. On Oct 16, 5:08 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: good thinking, i'll wait until tomorrow... On Oct 16, 2:06 pm, Gwoo [EMAIL PROTECTED] wrote: could be a problem with the nightly --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
I have the same problem and the solution of nate didn't help. I think this is a bug but I don't know for sure: (latest svn version of 1.2.x.x. branches) In APP/config/core.php: - Configure::write('Cache.disable', true); - Cache::config('default', array('engine' = 'File')); Gives the warning 512 where [EMAIL PROTECTED] talked about. Warning (512): Cache not configured. Please use Cache::config(); in APP/config/core.php [CORE/cake/bootstrap.php, line 52] and Warning (2): Cannot modify header information - headers already sent by (output started at /.../APP/cake/basics.php:773) But if I configure the lines below my app does work: - Configure::write('Cache.disable', false); - Cache::config('default', array('engine' = 'File')); Is this ok? Or is it a bug? thnx! - Charlie On Oct 16, 11:54 pm, nate [EMAIL PROTECTED] wrote: You don't need to modify any core CakePHP files. Just remove the $cakeCache var from core.php, and add the following: Cache::config('default', array('engine' = 'File')); You might want to just replace your core.php with a fresh copy from the latest nightly and re-input your settings. On Oct 16, 5:08 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: good thinking, i'll wait until tomorrow... On Oct 16, 2:06 pm, Gwoo [EMAIL PROTECTED] wrote: could be a problem with the nightly --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
I got this problem once... The cause is that i deleted everything under tmp... Including the cache dir. If the cache dir is not there. Cake will give out an error, and does not create the directory. Try creating it, then you problem SHOULD be fixed. =) Regards, - Sergio On Oct 22, 8:22 am, Charlie van de Kerkhof [EMAIL PROTECTED] wrote: I have the same problem and the solution of nate didn't help. I think this is a bug but I don't know for sure: (latest svn version of 1.2.x.x. branches) In APP/config/core.php: - Configure::write('Cache.disable', true); - Cache::config('default', array('engine' = 'File')); Gives the warning 512 where [EMAIL PROTECTED] talked about. Warning (512): Cache not configured. Please use Cache::config(); in APP/config/core.php [CORE/cake/bootstrap.php, line 52] and Warning (2): Cannot modify header information - headers already sent by (output started at /.../APP/cake/basics.php:773) But if I configure the lines below my app does work: - Configure::write('Cache.disable', false); - Cache::config('default', array('engine' = 'File')); Is this ok? Or is it a bug? thnx! - Charlie On Oct 16, 11:54 pm, nate [EMAIL PROTECTED] wrote: You don't need to modify any core CakePHP files. Just remove the $cakeCache var from core.php, and add the following: Cache::config('default', array('engine' = 'File')); You might want to just replace your core.php with a fresh copy from the latest nightly and re-input your settings. On Oct 16, 5:08 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: good thinking, i'll wait until tomorrow... On Oct 16, 2:06 pm, Gwoo [EMAIL PROTECTED] wrote: could be a problem with the nightly --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
Still have this problem. Warning (512): Cache not configured. Please use Cache::config(); in APP/config/core.php [CORE/cake/bootstrap.php, line 52] But the other one is dissapeared when removing the cache files. My directory in tmp is still intact Maybe because I disable my cache but Cake still needs some sort of cache config? - Charlie On Oct 22, 1:29 pm, LS [EMAIL PROTECTED] wrote: I got this problem once... The cause is that i deleted everything under tmp... Including the cache dir. If the cache dir is not there. Cake will give out an error, and does not create the directory. Try creating it, then you problem SHOULD be fixed. =) Regards, - Sergio On Oct 22, 8:22 am, Charlie van de Kerkhof [EMAIL PROTECTED] wrote: I have the same problem and the solution of nate didn't help. I think this is a bug but I don't know for sure: (latest svn version of 1.2.x.x. branches) In APP/config/core.php: - Configure::write('Cache.disable', true); - Cache::config('default', array('engine' = 'File')); Gives the warning 512 where [EMAIL PROTECTED] talked about. Warning (512): Cache not configured. Please use Cache::config(); in APP/config/core.php [CORE/cake/bootstrap.php, line 52] and Warning (2): Cannot modify header information - headers already sent by (output started at /.../APP/cake/basics.php:773) But if I configure the lines below my app does work: - Configure::write('Cache.disable', false); - Cache::config('default', array('engine' = 'File')); Is this ok? Or is it a bug? thnx! - Charlie On Oct 16, 11:54 pm, nate [EMAIL PROTECTED] wrote: You don't need to modify any core CakePHP files. Just remove the $cakeCache var from core.php, and add the following: Cache::config('default', array('engine' = 'File')); You might want to just replace your core.php with a fresh copy from the latest nightly and re-input your settings. On Oct 16, 5:08 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: good thinking, i'll wait until tomorrow... On Oct 16, 2:06 pm, Gwoo [EMAIL PROTECTED] wrote: could be a problem with the nightly --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
did you try looking at the /app/config/core.php in the latest nightly? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
could be a problem with the nightly --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
I did, in cake/bootstrap.php line 48: Configure::getInstance(); line 49://Cache::config(); line 51: $cache = Cache::settings(); line 52: if(empty($cache)) { line 53:trigger_error('Cache not configured. Please use Cache::config(); in APP/config/core.php', E_USER_WARNING); line 54:Cache::config('default', array('engine' = 'File')); line 55: } and this is what cake/config/core.php looks like. this block starts on line 44 /** * To configure CakePHP *not* to use mod_rewrite and to * use CakePHP pretty URLs, remove these .htaccess * files: * * /.htaccess * /app/.htaccess * /app/webroot/.htaccess * * And uncomment the App.baseUrl below: */ and ends on line 54 Does this help? On Oct 16, 1:23 pm, Gwoo [EMAIL PROTECTED] wrote: did you try looking at the /app/config/core.php in the latest nightly? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
good thinking, i'll wait until tomorrow... On Oct 16, 2:06 pm, Gwoo [EMAIL PROTECTED] wrote: could be a problem with the nightly --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Update gone wrong.
You don't need to modify any core CakePHP files. Just remove the $cakeCache var from core.php, and add the following: Cache::config('default', array('engine' = 'File')); You might want to just replace your core.php with a fresh copy from the latest nightly and re-input your settings. On Oct 16, 5:08 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: good thinking, i'll wait until tomorrow... On Oct 16, 2:06 pm, Gwoo [EMAIL PROTECTED] wrote: could be a problem with the nightly --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---