3
votes

i am using Cakephp1.3 on ubuntu 11.10

i create a table name users . i cake bake the application. and user_controller , views and models all are present.

Now when i am trying to acess http://localhost/yps/users/ it gives following error

Not Found

The requested URL /yps/users/ was not found on this server

Anybody have idea about this

Thanks

1
What's the exact filename of your controller file? You mentioned user_controller (without an s) but according to Cake conventions it would need to be pluralized. See book.cakephp.org/1.3/view/902/File-and-Classname-Conventions - Joseph
did you check the file permission? - The System Restart
Could be an issue with mod_rewrite, perhaps this helps: book.cakephp.org/1.3/en/view/917/… - dhofstet

1 Answers

4
votes
  1. Please follow the name convention, like @Joseph said
  2. I encounter the same issue, it's caused by mod_rewrite, like @dhofstet said. Fix it, then everything works well. And how to fix it dependes on your web server's configuration. (http://book.cakephp.org/2.0/en/getting-started.html#a-note-on-mod-rewrite)