Re: Error installing CakePHP
Thanks for that tip, Grant! Ryan --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Error installing CakePHP
I just noticed you are on Windows XP. I recommend using ZipGenius, as it is free, works with almost all archive types, and integrates well into the Explorer context menu. And unlike TUGZip, it does preserve empty folders when extracting. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Error installing CakePHP
This is because you are using a utility that does not keep empty folders when extracting the cake archive. Use another un-archiving tool that keeps the empty folders, and you won't have any of these warnings. philip wrote: > Hi, > > I tell you what happened. After I went to the cake URL as you said, I > got lots of warnings at the top of the screen. To get rid of the > warnings I had to manually create a folder in cake/app/ called models. > After createing models folder the CakePHP home page didn't give any > warnings, just said database file not configured. > But I keep getting warnings for different things. Mostly only when I > bake, when I get the warnings I find I have to create directories > myself manually then I go through the bake process again and it works. > > So the problem is with the bake.php now. Is it unable to create > directories? Is this due to some file/folder permission problem? > > Thanks, Philip > > > ryanb006 wrote: > > After the Blog Tutorial, follow it by example in building your own > > application. For reference to all Cake functions, visit the API at > > [1]. Also, you can check out the screencasts at [2]. > > > > Good luck with Cake! I haven't gone back to my old ways since I found > > it. > > > > -- > > [1] http://api.cakephp.org/ > > [2] http://cakephp.org/screencasts > > -- > > > > Ryan --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Error installing CakePHP
Ok. I don't remember having to create a models directory (or a components or views directory for that matter). Just create the folders if they are not already there. To configure your database file, rename /app/config/database.php.default to /app/config/database.php and then edit the file to suit your needs. You can configure different database settings, but you probably just need the one named $default. Baking advice: bake.php - Easy baking for lazy folks @ H3rald.com [1] Online Baker - rdBaker -- [1] http://www.h3rald.com/blog/view/26 [2] http://rdos.rd11.com/rdBaker/ -- Good luck, Ryan --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Error installing CakePHP
Hi, I tell you what happened. After I went to the cake URL as you said, I got lots of warnings at the top of the screen. To get rid of the warnings I had to manually create a folder in cake/app/ called models. After createing models folder the CakePHP home page didn't give any warnings, just said database file not configured. But I keep getting warnings for different things. Mostly only when I bake, when I get the warnings I find I have to create directories myself manually then I go through the bake process again and it works. So the problem is with the bake.php now. Is it unable to create directories? Is this due to some file/folder permission problem? Thanks, Philip ryanb006 wrote: > After the Blog Tutorial, follow it by example in building your own > application. For reference to all Cake functions, visit the API at > [1]. Also, you can check out the screencasts at [2]. > > Good luck with Cake! I haven't gone back to my old ways since I found > it. > > -- > [1] http://api.cakephp.org/ > [2] http://cakephp.org/screencasts > -- > > Ryan --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Error installing CakePHP
After the Blog Tutorial, follow it by example in building your own application. For reference to all Cake functions, visit the API at [1]. Also, you can check out the screencasts at [2]. Good luck with Cake! I haven't gone back to my old ways since I found it. -- [1] http://api.cakephp.org/ [2] http://cakephp.org/screencasts -- Ryan --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Error installing CakePHP
I couldn't find anything on baking in Installing CakePHP [1]. Open your browser and visit http://localhost/. You should get a CakePHP page with some information. If not, check that Apache is running and the DocumentRoot is set correctly. Now, follow the Cake Blog Tutorial at [2]. -- [1] http://manual.cakephp.org/chapter/3 [2] http://manual.cakephp.org/chapter/20 -- Good luck, Ryan --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Error installing CakePHP
Hello, I put cakephp in the root. I am using Xampp on Windows XP. C:\Program Files\xampp\htdocs\cake\scripts>"c:\program files\xampp\php\php.exe" bake.php -project "\program files\xampp\htdocs\testcake10" ... Creating file \program files\xampp\htdocs\testcake10\views\pages\home.thtml Warning: fopen(\program files\xampp\htdocs\testcake10\views\pages\home.thtml): f ailed to open stream: No such file or directory in C:\Program Files\xampp\htdocs \cake\scripts\bake.php on line 1464 Error! Couldn't open \program files\xampp\htdocs\testcake10\views\pages\home.tht ml for writing. Welcome page created Warning: chmod(): No such file or directory in C:\Program Files\xampp\htdocs\cak e\basics.php on line 1005 Could not set permissions on \program files\xampp\htdocs\testcake10\tmp\* You must manually check that these directories can be wrote to by the server C:\Program Files\xampp\htdocs\cake\scripts> Any ideas please? I followed instructions for install and it doesn't work, sad. Thanks, Philip --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---