Tuesday, May 7, 2013

Re: Cake CLI no longer works

@Steve, yes PHP is installed on the machine and just to verify I get -rwxrwxrwx 1 ed ed 1092 Apr 30  2012 /var/www/nk/Console/cake*. (I deleted cake from downloads dir, that was just for a test). 

@Euromark
A good number of my apps are up to date with the most current version of Cake so I usually keep my PATH environment variable up to date with the most current version as well. Unless I'm baking a new app I always run my cake commands from the root/app I happen to be working with at the time. All of my projects reside in /var/www and my core libs in /mnt/share. With this in mind, /var/www/nk/Console/cake results in No such file or directory  and /mnt/share/cake234/lib/Cake/Console/cake results in No such file or directory. Even though I'm operating as root at the moment I still took a minute granted executive rights but still get the same error, No such file or directory.

Like I said, this just started happening recently. I'm not trying to use the CLI for the very first time on a fresh download of Cake, the versions on my server go back to 1.3 when I first starting learning to use Cake and the cake shell has worked flawlessly ever since up until now with all versions. 

Stumped. 




On Tue, May 7, 2013 at 7:57 AM, steve van christie <steve.van.christie@gmail.com> wrote:
did you already install php in your machine?
please try to verify the file first

ll ~/downloads/cakephp/app/Console/cake

it should return something like :

-rwxrwxrwx 1 root root 1388 Apr 28 16:30 /host/Download/cakephp/app/Console/cake*

best regards


On Tuesday, May 7, 2013 5:33:53 AM UTC-4, CrotchFrog wrote:
Thanks for the response Steve,

Just to rule out all possible causes to the issue I did go ahead and re-download 2.3.4 into ~/downloads (on a headless server). I executed ~/downloads/cakephp/app/Console/cake bake and it resulted in : No such file or directohpry.

I also tried apt-get install cakep and it did in fact add cake to /usr/bin but a I am still greeted with : No such file or directory when executing "cake bake."


On Mon, May 6, 2013 at 9:23 PM, steve van christie <steve.van...@gmail.com> wrote:
assume you have download and extract and rename it on your home desktop in cakephp folder :
please try execute this on your terminal

~/Desktop/cakephp/app/Console/cake bake

another solution is using apt-get install for install cakephp, it will automatically add cake in bin system folder.

best regards

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to a topic in the Google Groups "CakePHP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cake-php/SDOGDcCQPcA/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to cake-php+u...@googlegroups.com.
To post to this group, send email to cake...@googlegroups.com.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to a topic in the Google Groups "CakePHP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cake-php/SDOGDcCQPcA/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: