Re: home.ctp cannot be found when debug = 0

2009-07-18 Thread kai
it's sort of funny that that was the problem. On Jul 17, 9:48 am, Robert Edeker idxma...@gmail.com wrote: err.  That was stupid.  I just re-opened the ctp and noticed this little jem.  I forgot that I copied it from the stock home.ctp and wasn't quite sure what it was for so I left it in..  

Re: home.ctp cannot be found when debug = 0

2009-07-18 Thread Robert Edeker
Now that I'm not in the middle of getting the app read it is a bit funny. :) Is it clearly documented to remove this check or just an assumed part of the process? (once you get familiar with the API) Guess I was expecting something like: configure::read(debug) 0 -r On Sat, Jul 18, 2009 at

Re: home.ctp cannot be found when debug = 0

2009-07-18 Thread Robert Edeker
http://book.cakephp.org/view/413/read http://book.cakephp.org/view/413/readGuess there is this. Suppose I should have taken more time on my first cake app. needed to really get moving though and learn all the cakey stuff along the way. 2009/7/18 Robert Edeker idxma...@gmail.com Now that I'm

home.ctp cannot be found when debug = 0

2009-07-17 Thread idx
Hello, I've had my cake config set to debug 3 when developing and now that everything seems to be working I want to change to zero and test it out. All of the controllers and such seem fine, but now when I go to the cake root, I receive the following error.

Re: home.ctp cannot be found when debug = 0

2009-07-17 Thread GravyFace
What does your webserver log say? On Fri, Jul 17, 2009 at 9:42 AM, idxidxma...@gmail.com wrote: Hello,  I've had my cake config set to debug 3 when developing and now that everything seems to be working I want to change to zero and test it out.  All of the controllers and such seem fine,

Re: home.ctp cannot be found when debug = 0

2009-07-17 Thread idx
Gives a 404. Although with debug=1 it's 200. Absolutely nothing else changed except for the core config. (this is running via the XAMPP package on a windows2003 server - not sure if that makes any difference) debug=0 10.1.7.25 - - [17/Jul/2009:09:46:03 -0500] GET / HTTP/1.1 404 1003 10.1.7.25

Re: home.ctp cannot be found when debug = 0

2009-07-17 Thread GravyFace
Is the Security component enabled in your app_controller? On Fri, Jul 17, 2009 at 10:47 AM, idxidxma...@gmail.com wrote: Gives a 404.  Although with debug=1 it's 200.  Absolutely nothing else changed except for the core config. (this is running via the XAMPP package on a windows2003 server

Re: home.ctp cannot be found when debug = 0

2009-07-17 Thread Robert Edeker
No, I don't believe so. I haven't changed it from the default. On Fri, Jul 17, 2009 at 11:03 AM, GravyFace gravyf...@gmail.com wrote: Is the Security component enabled in your app_controller? On Fri, Jul 17, 2009 at 10:47 AM, idxidxma...@gmail.com wrote: Gives a 404. Although with

Re: home.ctp cannot be found when debug = 0

2009-07-17 Thread Piotr Kilczuk
Hello, Nothing interesting in app/tmp/logs? Regards, Piotr --~--~-~--~~~---~--~~ 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

Re: home.ctp cannot be found when debug = 0

2009-07-17 Thread Robert Edeker
Hm. Nothing in there from today. Just previous errors that I've fixed by now. On Fri, Jul 17, 2009 at 11:15 AM, Piotr Kilczuk kilc...@gmail.com wrote: Hello, Nothing interesting in app/tmp/logs? Regards, Piotr --~--~-~--~~~---~--~~ You received this

Re: home.ctp cannot be found when debug = 0

2009-07-17 Thread Robert Edeker
Here's routes.php if that helps any. I think this is basically the default. Router::connect('/', array('controller' = 'pages', 'action' = 'display', 'home')); /** * ...and connect the rest of 'Pages' controller's urls. */ Router::connect('/pages/*', array('controller' = 'pages', 'action' =

Re: home.ctp cannot be found when debug = 0

2009-07-17 Thread Robert Edeker
Also if I go to /pages/home it works when debug 0, but not otherwise. Still nothing in the app/tmp/logs directory and the apache logs are the same with a 404. (I swear, home.ctp is there. :) == Not Found Error: The requested address '/pages/home' was not found on

Re: home.ctp cannot be found when debug = 0

2009-07-17 Thread Gwoo
Look in pages/home.ctp. The debug check was added because too many applications forgot to remove home.ctp. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Re: home.ctp cannot be found when debug = 0

2009-07-17 Thread Robert Edeker
So should I name that page differently (main.ctp/index.ctp) then tell the default router to go there instead? I basically just want a front splash page with the application's title and a few links to controllers. On Fri, Jul 17, 2009 at 12:09 PM, Gwoo gwoo.cake...@gmail.com wrote: Look in

Re: home.ctp cannot be found when debug = 0

2009-07-17 Thread Robert Edeker
err. That was stupid. I just re-opened the ctp and noticed this little jem. I forgot that I copied it from the stock home.ctp and wasn't quite sure what it was for so I left it in.. (didn't realize that was checking for debug) whoops. if (Configure::read() == 0): $this-cakeError('error404');