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 -~----------~----~----~----~------~----~------~--~---