Re: Newb? Console wants full path for app name-Need answer tonight please ;)
Still can't see why my database configuration is never found. I know I've done it correctly because I did it the same way in the blog tutorial. I can also go in to the project folder and pull the database.php file and it shows that it was created with my inputs. Also, should I have done scaffolding? It's my understanding that I don't need it with bake. On Dec 16, 2:59 am, Marcelo Andrade wrote: > On Wed, Dec 16, 2009 at 2:14 AM, danashan wrote: > > So C:\xampp\htdocs\cake\app\'newproject' ? > > C:\xampp\htdocs\cake\app\ > > Inside app folder in Cake 1.2 you' ll find config, > controllers, locale, models, plugins, tests, tmp, > vendors, views and webroot folders. > > There's no such 'newproject' folder. > > Best regards. > > -- > MARCELO DE F. ANDRADE > Belem, PA, Amazonia, Brazil > Linux User #221105 Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Newb? Console wants full path for app name-Need answer tonight please ;)
On Wed, Dec 16, 2009 at 2:14 AM, danashan wrote: > So C:\xampp\htdocs\cake\app\'newproject' ? C:\xampp\htdocs\cake\app\ Inside app folder in Cake 1.2 you' ll find config, controllers, locale, models, plugins, tests, tmp, vendors, views and webroot folders. There's no such 'newproject' folder. Best regards. -- MARCELO DE F. ANDRADE Belem, PA, Amazonia, Brazil Linux User #221105 Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Newb? Console wants full path for app name-Need answer tonight please ;)
cake bake C:\xampp\htdocs\newproject cd C:\xampp\htdocs\newproject cake bake You can cake will create the newproject folder for you if it doesn't exist. You may be running into trouble because it looks like you are trying to create the new app within the cake core directory. On Wed, Dec 16, 2009 at 12:14 AM, danashan wrote: > So C:\xampp\htdocs\cake\app\'newproject'? > > That is the path I used, but I still get the message that the database > is not configured even though I changed the following in the > database.php file: > > var $default = array( >'driver' => 'mysql', >'persistent' => false, >'host' => 'localhost', >'login' => 'root', >'password' => '**', >'database' => 'danashan', >'prefix' => '', > I have done this over and over. It keeps creating projects, database > gets configured again and again, but I never get the option to bake a > model, controller, or view. I need to get to the "CAKE BAKE" screen > on the console. > I wince to say this but, please spell it out for me because I'm > certain I have missed something basic. > > > On Dec 15, 7:29 pm, Marcelo Andrade wrote: > > On Tue, Dec 15, 2009 at 9:34 PM, danashan wrote: > > > This is a total newb question. I'm new to cake. I did the blog > > > tutorial and am now working on the acl so I can try bake. In the > > > console it asks for the full path for this app including directory > > > name. The example is C:\Users\Dana\ I'm using xampp in windows (C: > > > \xampp\htdocs\cake). Am I creating a new app folder before I run cake > > > bake and then referring to that path? By default, using the console > > > already has me in my cake application. If so, do I put it in my xampp > > > directory, in cake, desktop, etc...? > > > > You must just inform the full path for your "app"' folder. > > > > Best regards. > > > > -- > > MARCELO DE F. ANDRADE > > Belem, PA, Amazonia, Brazil > > Linux User #221105 > > > > http://tasafo.org > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > 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+unsubscr...@googlegroups.comFor > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Newb? Console wants full path for app name-Need answer tonight please ;)
So C:\xampp\htdocs\cake\app\'newproject'? That is the path I used, but I still get the message that the database is not configured even though I changed the following in the database.php file: var $default = array( 'driver' => 'mysql', 'persistent' => false, 'host' => 'localhost', 'login' => 'root', 'password' => '**', 'database' => 'danashan', 'prefix' => '', I have done this over and over. It keeps creating projects, database gets configured again and again, but I never get the option to bake a model, controller, or view. I need to get to the "CAKE BAKE" screen on the console. I wince to say this but, please spell it out for me because I'm certain I have missed something basic. On Dec 15, 7:29 pm, Marcelo Andrade wrote: > On Tue, Dec 15, 2009 at 9:34 PM, danashan wrote: > > This is a total newb question. I'm new to cake. I did the blog > > tutorial and am now working on the acl so I can try bake. In the > > console it asks for the full path for this app including directory > > name. The example is C:\Users\Dana\ I'm using xampp in windows (C: > > \xampp\htdocs\cake). Am I creating a new app folder before I run cake > > bake and then referring to that path? By default, using the console > > already has me in my cake application. If so, do I put it in my xampp > > directory, in cake, desktop, etc...? > > You must just inform the full path for your "app"' folder. > > Best regards. > > -- > MARCELO DE F. ANDRADE > Belem, PA, Amazonia, Brazil > Linux User #221105 > > http://tasafo.org Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Newb? Console wants full path for app name-Need answer tonight please ;)
On Tue, Dec 15, 2009 at 9:34 PM, danashan wrote: > This is a total newb question. I'm new to cake. I did the blog > tutorial and am now working on the acl so I can try bake. In the > console it asks for the full path for this app including directory > name. The example is C:\Users\Dana\ I'm using xampp in windows (C: > \xampp\htdocs\cake). Am I creating a new app folder before I run cake > bake and then referring to that path? By default, using the console > already has me in my cake application. If so, do I put it in my xampp > directory, in cake, desktop, etc...? You must just inform the full path for your "app"' folder. Best regards. -- MARCELO DE F. ANDRADE Belem, PA, Amazonia, Brazil Linux User #221105 http://tasafo.org Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Newb? Console wants full path for app name-Need answer tonight please ;)
This is a total newb question. I'm new to cake. I did the blog tutorial and am now working on the acl so I can try bake. In the console it asks for the full path for this app including directory name. The example is C:\Users\Dana\ I'm using xampp in windows (C: \xampp\htdocs\cake). Am I creating a new app folder before I run cake bake and then referring to that path? By default, using the console already has me in my cake application. If so, do I put it in my xampp directory, in cake, desktop, etc...? On a side note, I have not gotten the interactive bake shell to come up in the console. All I get is the database configuration (which I have already done in database.php). I'm sure it's related to my question above. I appreciate the help. Ideally, I need an answer by 8 pm PST today 12/15. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en