Sunday, March 29, 2009

Re: Error in trying to make the blog tutorial

Try using cake without the "pretty" url's. That might help you figure
out if it is mod_rewrite that is causing you problems !

Good luck !

On 28 mrt, 22:58, Baggypants <gchaturvedi...@gmail.com> wrote:
> Hi guys,
>
> I am new to using cakephp and am using a WAMP server on my desktop
> computer while running it.  I have uncommented the line in httpd.conf
> to use the pretty URL's since for some reason even though my
> mod_rewrite looks enabled the CSS / images were missing on my cake
> start page.
>
> Anyhow, I am having trouble with the blog.  I see this error when
> trying to access:http://localhost/cake_1_2/index.php/posts/index
>
> But I did create the Controller..so I'm not sure what it is talking
> about.  I think this may be an error due to something with mod_rewrite
> or the pretty URLs?
>
> Missing Controller
>
> Error: PostsController could not be found.
>
> Error: Create the class PostsController below in file: app\controllers
> \posts_controller.php
>
> <?php
> class PostsController extends AppController {
>
>         var $name = 'Posts';}
>
> ?>
>
> Notice: If you want to customize this error message, create app\views
> \errors\missing_controller.ctp
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: