Also, I'm in the app directory when running the command.
On Dec 26, 1:33 pm, Action <[EMAIL PROTECTED]> wrote:
> I'm using wampserver and cakephp 1.2. I'm trying to run the bake.php
> script from the windows command line.
>
> Here is what I'm typing the command line:
>
> C:\wamp\bin\php\php5.2.5\php.exe ..\cake\console\cake bake
>
> This is what is outputted to the window:
>
> ################################################################################
>
> #
> # 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.
> # 1785
> E. Sahara A
> venue, Suite 490-204
> # Las
> Vegas, Nevad
> a 89104
> #
> # 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: 5811 $
> # @modifiedby $LastChangedBy: phpnut $
> # @lastmodified $Date: 2007-10-20 01:39:14 -0500 (Sat, 20 Oct 2007) $
> # @license
> http://www.opensource.org/licenses/mit-license.p
> hp The MIT License
> #
> ################################################################################
>
> clear
>
> LIB=${0/%cake/}
> APP=`pwd`
>
> echo "Hello $USER,"
>
> exec php -q ${LIB}cake.php -working "${APP}" "$@"
>
> echo " ";
>
> exit;
>
> What am I doing wrong here and how can I get this working properly?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---