Hi to all,
i am new in cakephp . i was trying to generate code for model ,controller and view through bake.but i am facing problem.I am using cakephp 1.2
in command prompt i get following result
it give me following result.Code:D:\wamp\www\cakephp\cake\console>D:\wamp\bin\php\php5.2.5\php.exe cake.php
then i execute this commandCode:elcome to CakePHP v1.2.3.8166 Console --------------------------------------------------------------- Current Paths: -app: app -working: D:/wamp/www/cakephp/app -root: D:/wamp/www/cakephp -core: D:\wamp\www\cakephp Changing Paths: your working path should be the same as your application path to change your path use the '-app' param. Example: -app relative/path/to/myapp or -app /absolute/path/to/myapp Available Shells: APP\vendors\shells: - none D:\wamp\www\cakephp\vendors\shells: - none CORE\console\libs: acl api bake console i18n schema testsuite To run a command, type 'cake shell_name [args]' To get help on a specific command, type 'cake shell_name help'
following out put come with above commandCode:D:\wamp\www\cakephp\cake\console>D:\wamp\bin\php\php5.2.5\php.exe cake -app /D: \wamp\www\cakephp
Mostly i see while searching these command give the option to whom you want to create bake e.g model ,controller,view but in my case there is not such thingCode:################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP versions 4 and 5 # # CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org) # Copyright 2005-2007, Cake Software Foundation, Inc. # # Licensed under The MIT License # Redistributions of files must retain the above copyright notice. # # @filesource # @copyright Copyright 2005-2007, Cake Software Foundation, Inc. # @link http://www.cakefoundation.org/projects/info/cake php CakePHP(tm) Project # @package cake # @subpackage cake.cake.console # @since CakePHP(tm) v 1.2.0.5012 # @version $Revision: 7945 $ # @modifiedby $LastChangedBy: gwoo $ # @lastmodified $Date: 2008-12-18 18:16:01 -0800 (Thu, 18 Dec 2008) $ # @license http://www.opensource.org/licenses/mit-license.p hp The MIT License # ################################################################################ clear LIB=${0/%cake/} APP=`pwd` exec php -q ${LIB}cake.php -working "${APP}" "$@" exit;
kindly help .
regards.




Bookmarks