If it is not a filename issue, e.g. if you prefer 'post' instead of 
'posts' in your url, you should try keeping your controller name plural, 
and add one route to redirect "post" requests to the postscontroller.

cheers,
Rémy
> When i trying to practice the blog tutorial, I got an issue that.
>
> I need  to name post_controller.php instead of posts_controller.php
> like the tutorial showed.
>
> and the content is wrong also:
>
> <?php
>
> class PostController extends AppController /* instead of
> PostsController */
> {
>     var $name = 'Posts';
> }
>
> ?>
>
> My first cakephp only run when I correct this.
>
> I 'm using PHP 5.2.3 and Apache 2 on an Ubuntu machine, is there any
> thing wrong ?
>
> Thanks so much for your any help
> >
>
>
>   

-- 
[EMAIL PROTECTED]
E-nova technologies pvt ltd



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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