Have you setup routing to tell Cake where to find the app/views/books/
index.ctp file? Take a look at http://book.cakephp.org/view/542/Defining-Routes

You may need to setup a route in /app/config/routes.php like this:

Router::connect(
'/',
array('controller' => 'books', 'action' => 'index')
);



On Apr 30, 4:14 pm, Nathan <[email protected]> wrote:
> Here is the background.
> - cakePHP 1.2 in Linux with Apache
> - everything was extract to /root/cakePHP
> - when I browsehttp://localhost/cakePHP, it shows the first page
> correctly (CSS, tmp writable, DB connected.)
>
> I establish my first project by creating files (in Dreamweaver) and
> store them in app/controllers/books_controller.php and app/views/books/
> index.ctp to just display simple text "THIS IS A TEST".
>
> I've got error when I browse tohttp://localhost/cakePHP/books/. The
> error is just normal HTML 404 file not found. I guess I miss some
> setup, didn't I?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to