is that controller in app/controllers?
and try to add
  var $name = "Posts";
in the class

On Fri, Jun 1, 2012 at 1:16 PM, ying yang <[email protected]> wrote:

> <?php
> class PostsController extends AppController {
>
> }
>
> ?>
>
> On Fri, Jun 1, 2012 at 10:13 AM, Kid Noire <[email protected]> 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.
>>
>>
>>
>> Sincerely,
>>
>> A Noob
>>
>>
>> ------------
>>
>> BTW I'm using XAMPP on a Mac
>>
>> Thanks!
>>
>>
>>
>> --
>> 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
>> [email protected] For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>
>  --
> 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
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>



-- 
Rui WANG(王瑞)
Murray
School of Electronics Engineering and Computer Science,
Peking University

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to