Thursday, March 4, 2010

Re: Newbie: running blog tutorial - fails with ::constructClasses() error

Please show the code of your posts controller :)
Enjoy,
John

On Mar 4, 1:43 pm, nimbusgb <imoleswo...@gmail.com> wrote:
> Fatal error: Call to undefined method
> PostsController::constructClasses() in /var/www/cake/cake/
> dispatcher.php on line 184
>
> I'm running 1.3 rc 1 but this error is identical running 1.2.6 ( I
> just upgraded to see if the error would go away )
>
> Postgres database.
>
> http://localhost/cakegets all the greens and the page is css
> formatted properly.
>
> I have built the model and controller files. Set up database access.
> enabled write access to all the directories etc.
>
> when I try to access  http://localhost/cake/postsorhttp://localhost/cake/posts/index
> I get the fatal error message above.
>
> My understanding is that cake is failing as it tries to build the
> posts controller class so I have a path or permission wrong somewhere.
>
> Would really appreciate a pointer, this has been holding me up for a
> day. As a long time Java bod i am keen to get to grips with an
> environment that seems to offer quick functionality and a host of
> available code but this is frustrating the heck out of me!

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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: