On Feb 10, 2008 5:23 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm new to cakePHP, and I'm trying to run the bake script as the > instructions in the manual and scereencast, but I keep getting the > following error > > [EMAIL PROTECTED] ~]$ export PATH=$PATH:/var/www/cake/cake/console > [EMAIL PROTECTED] ~]$ cake > > Hello juancho, > > CakePHP Console: > This file has been loaded incorrectly and cannot continue. > Please make sure that /cake/console is in your system path, > and check the manual for the correct usage of this command. > (http://manual.cakephp.org/) > > As you can see, the PATH variable is set ok so I don't get why it > doesn't work. I'm missing something ? >
Yes, you have to provide a param to the cake script. It's true that that's not a very helpful error msg. It should echo usage, at the very least. Try: cake bake http://tempdocs.cakephp.org/#TOC112318 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
