Do a search of this group, I had the same problem. Pretty much downloading the latest nightly build fixed it for me.
On Mar 16, 9:12 am, "Kick The Donkey" <[EMAIL PROTECTED]> wrote: > djiize , > > Nope. That didn't work. Same errors. > > On Mar 16, 8:53 am, "djiize" <[EMAIL PROTECTED]> wrote: > > > maybe try to go in the cake core folder > > cd /var/www/html/cake/cake > > and then > > php ./scripts/bake.php -project tbd > > > On 16 mar, 12:35, "Kick The Donkey" <[EMAIL PROTECTED]> wrote: > > > > It seems that bake.php is broken in the latest release, as well as all > > > the nightly builds. Or, maybe I'm just doing something wrong. > > > > Here's the output I'm seeing when I run the following command (trying > > > to bake a new project): > > > > ------------------------------------------------------------------------------ > > > [EMAIL PROTECTED] cake]$ php ./cake/scripts/bake.php -project tbd > > > > ___ __ _ _ ___ __ _ _ __ __ __ _ _ ___ > > > | |__| |_/ |__ |__] |__| |__] |__] |__| |_/ |__ > > > |___ | | | \_ |___ | | | | |__] | | | \_ |___ > > > --------------------------------------------------------------- > > > > --------------------------------------------------------------- > > > Skel Directory: /var/www/html/cake/cake/scripts/templates/skel > > > Will be copied to: > > > New App Directory: /var/www/html/cake/tbd > > > --------------------------------------------------------------- > > > > Look okay? (y/n/q) > > > [y] > y > > > > Do you want verbose output? (y/n) > > > [n] > n > > > --------------------------------------------------------------- > > > Created: /var/www/html/cake/tbd > > > --------------------------------------------------------------- > > > Creating welcome page > > > --------------------------------------------------------------- > > > > Creating file /var/www/html/cake/tbd/views/pages/home.thtml > > > PHP Warning: fopen(/var/www/html/cake/tbd/views/pages/home.thtml): > > > failed to open stream: No such file or directory in /var/www/html/cake/ > > > cake/scripts/bake.php on line 1908 > > > > Warning: fopen(/var/www/html/cake/tbd/views/pages/home.thtml): failed > > > to open stream: No such file or directory in /var/www/html/cake/cake/ > > > scripts/bake.php on line 1908 > > > Error! Could not write to /var/www/html/cake/tbd/views/pages/ > > > home.thtml. > > > Welcome page created > > > PHP Warning: chmod(): No such file or directory in /var/www/html/cake/ > > > cake/basics.php on line 1043 > > > > Warning: chmod(): No such file or directory in /var/www/html/cake/cake/ > > > basics.php on line 1043 > > > Could not set permissions on /var/www/html/cake/tbd/tmp/* > > > You must manually check that these directories can be wrote to by the > > > server > > > ------------------------------------------------------------------------------ > > > > Sure enough, there is no "/var/www/html/cake/tbd/views/pages/ > > > home.thtml" (or, any of the other files mentioned). Any idea what > > > I'm doing wrong? I've gotten bake to work before, in prior releases. > > > Note: I do have full read-write permissions on the directory I'm > > > editing. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
