Saturday, October 31, 2009

Re: help with bake

Baking models and views work. After some experimentation, baking
controllers seems to work except when I specify 'yes' to the question
"would you like to include some basic class methods..."
Thank you for your help
Patrick

On Oct 31, 1:09 pm, Hols Kay <hol...@googlemail.com> wrote:
> Do you still get the same error after you've also baked your Posts
> views and model?
>
> On Oct 31, 4:30 pm, Patrick <agin.patr...@gmail.com> wrote:
>
>
>
> > Hi,
> > I'm new to  cakephp and I'm trying to bake for the first time (I'm
> > following an example for Golding's book "Beginning CakePHP" p.65). I
> > choose to bake a controller (the Posts controller) interactively, I
> > include some basic class methods and want to use sessions. I get the
> > following error:
>
> > PHP Fatal error: Class 'Post' not found in .../cake/cake/console/libs/
> > tasks/controller.php on line 255
>
> > Anybody can help me with that?
>
> > regards,
> > Patrick
>
> > CakePHP version 1.2.5 on Windows Vista, Apache server 2.2.9, PHP 5.2.10
--~--~---------~--~----~------------~-------~--~----~
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: