Re: page is not be found

2010-07-12 Thread nini
Hey,

could you paste your router file content somewhere(http://
pastie.org/)?
That could help to understand your problem better.

On Jul 10, 8:08 am, sai qi.jier...@gmail.com wrote:
 i have installed cakephp by Advanced Installation successfull.but wen
 i access to the page i created(http://localhost/tanten/users/
 login),there is an error 'page is not be found'.

 so i changed the routes to
 Router::connect('/', array('controller' = 'users', 'action' =
 'login',));
 and accesed by 'http://localhost/tanten/login',successfull.
 but how can i access this by 'http://localhost/tanten/users/login'?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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 group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: page is not be found

2010-07-12 Thread cricket
Set debug to 2 in core.php. Cake throws a 404 not found when debug is
set to 0 and there's some kind of error in your code.

On Sat, Jul 10, 2010 at 2:08 AM, sai qi.jier...@gmail.com wrote:
 i have installed cakephp by Advanced Installation successfull.but wen
 i access to the page i created(http://localhost/tanten/users/
 login),there is an error 'page is not be found'.

 so i changed the routes to
 Router::connect('/', array('controller' = 'users', 'action' =
 'login',));
 and accesed by 'http://localhost/tanten/login',successfull.
 but how can i access this by 'http://localhost/tanten/users/login'?


 Check out the new CakePHP Questions site http://cakeqs.org and help others 
 with their CakePHP related questions.

 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 group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
 http://groups.google.com/group/cake-php?hl=en


Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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 group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en