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..
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
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
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.
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,
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
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
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
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
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
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' =
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
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
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
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');
15 matches
Mail list logo