Friday, August 3, 2012

Re: CakePHP 2.X Issues with rounting

Set debug to 2. Cake sends a generic 404 when there's an error when
debug is disabled.

On Fri, Aug 3, 2012 at 3:23 PM, Almog Koren <almog@almogdesign.net> wrote:
> Hi everyone,
> I'm upgrading a baked application from 1.3 to 2.2.1 and I'm running
> into some issue with the routes, in short its not working.
>
> I have
> Router::connect('/login', array('controller' => 'users', 'action' =>
> 'login'));
>
> Set up my controller UsersController and model of course, the
> login.ctp is at View/Users/login.ctp
>
> However I'm getting the following error
>
> Not Found
> The requested URL /app/webroot/login was not found on this server.
>
> I tried everything and have no idea why its not working anymore.
>
> --
> Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: