Friday, June 1, 2012

Re: Missing Controller Error

On Fri, Jun 1, 2012 at 3:13 AM, Kid Noire <thiskidnoire@gmail.com> wrote:
> I've just installed CakePHP and trying to get myself through
> Andrewperk's blog tutorial but I get this error  after the second
> video...
>
> Missing Controller
> Error: PostsController could not be found.
> Error: Create the class PostsController below in file: app/Controller/
> PostsController.php
> <?php
> class PostsController extends AppController {
>
> }
>
> I've tried to Google my way out of this one but don't have the
> technical expertise to comprehend the suggestions I find.  I'm
> assuming my routes are a bit f'd up so if anyone could help me I would
> be greatly appreciative.

Did you create the file calles PostsController.php in the
app/Controller directory and put the suggested text into the file and
save it?

There's not really a lot of technical expertise to comprehend there.
You shouldn't need to touch the routes file at all.

Mike.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


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

No comments: