Re: baking cake from command prompt -- problems

2006-08-25 Thread bingo

Okie, I found solution for all of my problems. For others, I am
documenting the solutions below

>>1. is there any webpage that list all the possible CAKE commands and
>>from where they should be initialized
php bake.php -help will tell all the possible commands. Another place
to look at is
http://wiki.cakephp.org/docs:bake?s=bake

>>2. I setup path for php.exe in windows environmental variable and even
>>then windows command prompt complain that "command is not recognized".
>>I overcome this problem by explicitly typing the whole address to
>>php.exe on the command prompt. Is there any reason my path to php.exe
>>is not being recognized in the windows environmental variables
when setting the path variable in windows, do not set the path to
php.exe but to the folder which contains php.exe.
So in my case setting the path variable to "c:\xampp\xampp\php" rahter
than "c:\xampp\xampp\php\php.exe" works


>>3. Everytime I run a cake script..it starts running fine but after some
>>time, I get some kind of this message and the script breaks
>>"Fatal error: Maximum execution time of 60 seconds exceeded in
>>D:\xampp\xampp\htdocs\cake\cake\scripts\bake.php on line 1400"
In the bake.php file add this line within the "if" condition that
checks for "ini_set"
ini_set("max_execution_time",0);

Setting max_execution_time to 0 allows a script to run as long as it
does not reach to its end.

Regards




I am not sure why this is happening. Is it some problem with php,
apache, or cake settings.


I look forward for suggestions 
Regards, 
Ritesh


--~--~-~--~~~---~--~~
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: baking cake from command prompt -- problems

2006-08-25 Thread bingo

Hi gwoo,

I am not sure what is CLI. But on doing google search found that on
windows php.exe is essentially the CLI. xampp does have php.exe. I also
checked there forum and found a post related to php.ini that also talk
about cli.

http://www.apachefriends.org/en/faq-xampp-windows.html

And thanks for useful hint about cakephp command

Regards


--~--~-~--~~~---~--~~
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: baking cake from command prompt -- problems

2006-08-25 Thread gwoo

Its possible that the CLI is not available in XAMPP. Double check.
php bake.php -help should give you the list of available commands

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---