Saturday, October 31, 2009

help with bake

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: