I have also found that if you don't use the naming conventions properly, that bake.php will decide that it's broken. Make sure that the controller you are trying to build views for uses the proper naming conventions. This has made all the difference for me on a few occasions.
On a side note, this one of the things that I think should be changed in future bake releases. Instead of failing, simply post an error message and tell what the problem is. On 4/2/07, John <[EMAIL PROTECTED]> wrote: > > > Hi > > Are you sure you've baked all the controllers and models yet? it could > be that the view is trying to refer to something that doesn't exist - > that's my experience of where a lot of bake errors come from. > > For best results, I've found you need to bake models, then > controllers, then views last, but that if I'm doing something > complicated I've often needed to give it a few goes - good job it's > fast! > > On Apr 1, 9:49 pm, "christianandradet" <[EMAIL PROTECTED]> > wrote: > > hi i'am trying to generate my application with "cakephp bake", i can > > generate models and controllers but when i try to generate a view this > > error message apears, and i do not know to fix it. > > > > Fatal error: Class 'Controller' not found in C:\www\cake\cake > > \app_controller.php on line 40 > > > > How do i fix it??? please help!! Thanks > > > > > -- Thanks, Ron Chaplin =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= T73 Software & Design www.t73-softdesign.com We'll make all of your wildest e-Commerce dreams come true! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---