Hi,
On Feb 10, 5:23 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm new to cakePHP, and I'm trying to run thebakescript as the
> instructions in the manual and scereencast, but I keep getting the
> followingerror
>
> [EMAIL PROTECTED] ~]$ export PATH=$PATH:/var/www/cake/cake/console
> [EMAIL PROTECTED] ~]$ cake
>
> Hello juancho,
>
> CakePHP Console:
> This file has been loaded incorrectly and cannot continue.
> Please make sure that /cake/console is in your system path,
> and check the manual for the correct usage of this command.
> (http://manual.cakephp.org/)
>
> As you can see, the PATH variable is set ok so I don't get why it
> doesn't work. I'm missing something ?
>
Doing some digging on the source code of bake.php I see that the error
is on line 164 on this test:
if (!isset($this->args[0]) || !isset($this->params['working'])) {
It seems that $this->args[0] is undefined at this point but I don't
know why, not even what it's supposed to contain that parameter. ideas
of what's going wrong here ???
I'm on linux using 1.2.0.6311-beta.
Thanks,
Juan.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---