Re: Cake CLI no longer works

2013-06-26 Thread Rachman Chavik
On Tue, 25 Jun 2013 09:26:37 -0700, Ribamar FS wrote:

 Try to upgrade to Ubuntu 12.10.
 The version of PHP is the problem.

No.  I've been running stock php from 12.04 + several custom compiled PHP 
without issue.
The problem lies somewhere else.

 Em domingo, 5 de maio de 2013 05h29min50s UTC-3, CrotchFrog escreveu:

 I've been running Cake on Ubuntu Server 12.04 for quite some time now and 
 never a problem. I don't necessarily have a problem with CakePHP itself, 
 but more than likely something changed on my system and I can't quite 
 figure it out. 

 I recently tried to bake a model for a newly added table in one of my apps 
 and when I execute cake anywhere in my system or app all the way down to 
 /app/Console I'm greeted with *: No such file or directory*. The version 
 of Cake makes no difference, I have several versions on the server and I 
 tried two or three just to be sure. 

 echoing *$PATH *returns *
 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/mnt/share/cake234/lib/Cake/Console
  
 *so the problem is not there. 

Check that your 'cake' file in  has the executable bit:

  $ ls -l /mnt/share/cake234/lib/Cake/Console/cake


 Everything was working just fine as recently as a couple weeks ago and the 
 only real change to the system since then was a new install of Nagios. 

 I'm still getting my feet wet with *nix so really unsure of where to start 
 looking for the cause of the problem. 

Some commands to help check your path:

  $ which php
  $ which cake

-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Cake CLI no longer works

2013-06-25 Thread Ribamar FS
Try to upgrade to Ubuntu 12.10.
The version of PHP is the problem.

Em domingo, 5 de maio de 2013 05h29min50s UTC-3, CrotchFrog escreveu:

 I've been running Cake on Ubuntu Server 12.04 for quite some time now and 
 never a problem. I don't necessarily have a problem with CakePHP itself, 
 but more than likely something changed on my system and I can't quite 
 figure it out. 

 I recently tried to bake a model for a newly added table in one of my apps 
 and when I execute cake anywhere in my system or app all the way down to 
 /app/Console I'm greeted with *: No such file or directory*. The version 
 of Cake makes no difference, I have several versions on the server and I 
 tried two or three just to be sure. 

 echoing *$PATH *returns *
 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/mnt/share/cake234/lib/Cake/Console
  
 *so the problem is not there. 

 Everything was working just fine as recently as a couple weeks ago and the 
 only real change to the system since then was a new install of Nagios. 

 I'm still getting my feet wet with *nix so really unsure of where to start 
 looking for the cause of the problem. 

 Any help would be greatly appreciated. 


-- 
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+unsubscr...@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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Cake CLI no longer works

2013-05-07 Thread Ed Propsner
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.chris...@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+unsubscr...@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+unsubscr...@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.




Re: Cake CLI no longer works

2013-05-07 Thread steve van christie
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.comjavascript:
  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 javascript:.
 To post to this group, send email to cake...@googlegroups.comjavascript:
 .
 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+unsubscr...@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.




Re: Cake CLI no longer works

2013-05-07 Thread euromark
Dont confuse the core lib Console folder with the app folder.
And you should always navigate to your app folder /root/app/ first and then 
run your commands from there relatively
either using the app one via Console/cake or the lib one via 
../lib/Cake/Console/cake.
That works always - in all environments.

On linux you also need to grant your cake shell script executive rights 
(+x) for this user. Otherwise you will also get an error.


Am Sonntag, 5. Mai 2013 10:29:50 UTC+2 schrieb CrotchFrog:

 I've been running Cake on Ubuntu Server 12.04 for quite some time now and 
 never a problem. I don't necessarily have a problem with CakePHP itself, 
 but more than likely something changed on my system and I can't quite 
 figure it out. 

 I recently tried to bake a model for a newly added table in one of my apps 
 and when I execute cake anywhere in my system or app all the way down to 
 /app/Console I'm greeted with *: No such file or directory*. The version 
 of Cake makes no difference, I have several versions on the server and I 
 tried two or three just to be sure. 

 echoing *$PATH *returns *
 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/mnt/share/cake234/lib/Cake/Console
  
 *so the problem is not there. 

 Everything was working just fine as recently as a couple weeks ago and the 
 only real change to the system since then was a new install of Nagios. 

 I'm still getting my feet wet with *nix so really unsure of where to start 
 looking for the cause of the problem. 

 Any help would be greatly appreciated. 


-- 
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+unsubscr...@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.




Re: Cake CLI no longer works

2013-05-07 Thread Ed Propsner
@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.chris...@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/**CakePHPhttps://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=enhttps://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.

 Visit this group at 
 http://groups.google.com/**group/cake-php?hl=enhttp://groups.google.com/group/cake-php?hl=en
 .
 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://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 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+unsubscr...@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+unsubscr...@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.




Re: Cake CLI no longer works

2013-05-06 Thread steve . van . christie
Please try to download cakephp new version on website and then test run cake 
bake on app/Console/cake bake

Sent from my BlackBerry®
powered by Sinyal Kuat INDOSAT

-Original Message-
From: Ed Propsner crotchf...@gmail.com
Sender: cake-php@googlegroups.com
Date: Sun, 5 May 2013 04:29:50 
To: cake-php@googlegroups.com
Reply-To: cake-php@googlegroups.com
Subject: Cake CLI no longer works

I've been running Cake on Ubuntu Server 12.04 for quite some time now and
never a problem. I don't necessarily have a problem with CakePHP itself,
but more than likely something changed on my system and I can't quite
figure it out.

I recently tried to bake a model for a newly added table in one of my apps
and when I execute cake anywhere in my system or app all the way down to
/app/Console I'm greeted with *: No such file or directory*. The version of
Cake makes no difference, I have several versions on the server and I tried
two or three just to be sure.

echoing *$PATH *returns *
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/mnt/share/cake234/lib/Cake/Console
*so the problem is not there.

Everything was working just fine as recently as a couple weeks ago and the
only real change to the system since then was a new install of Nagios.

I'm still getting my feet wet with *nix so really unsure of where to start
looking for the cause of the problem.

Any help would be greatly appreciated.

-- 
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+unsubscr...@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+unsubscr...@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.




Re: Cake CLI no longer works

2013-05-06 Thread CrotchFrog
I can give that a shot but I did just download that version, not to mention 
none of the other versions I have on the server are working either. I'm 
thinking that perhaps I'm missing some sort of dependency or association? 
All other *nix commands are working okay, it's just cake which would lead 
me to believe the problem could be with cake itself, but it was working 
just fine before and like I mentioned, none of the versions I have on the 
server are working, not just the one in question. I'm thinking that 
something possibly changed in the server configuration. 

On Sunday, May 5, 2013 4:29:50 AM UTC-4, CrotchFrog wrote:

 I've been running Cake on Ubuntu Server 12.04 for quite some time now and 
 never a problem. I don't necessarily have a problem with CakePHP itself, 
 but more than likely something changed on my system and I can't quite 
 figure it out. 

 I recently tried to bake a model for a newly added table in one of my apps 
 and when I execute cake anywhere in my system or app all the way down to 
 /app/Console I'm greeted with *: No such file or directory*. The version 
 of Cake makes no difference, I have several versions on the server and I 
 tried two or three just to be sure. 

 echoing *$PATH *returns *
 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/mnt/share/cake234/lib/Cake/Console
  
 *so the problem is not there. 

 Everything was working just fine as recently as a couple weeks ago and the 
 only real change to the system since then was a new install of Nagios. 

 I'm still getting my feet wet with *nix so really unsure of where to start 
 looking for the cause of the problem. 

 Any help would be greatly appreciated. 


-- 
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+unsubscr...@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.




Re: Cake CLI no longer works

2013-05-06 Thread steve van christie
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 the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@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.




Cake CLI no longer works

2013-05-05 Thread Ed Propsner
I've been running Cake on Ubuntu Server 12.04 for quite some time now and
never a problem. I don't necessarily have a problem with CakePHP itself,
but more than likely something changed on my system and I can't quite
figure it out.

I recently tried to bake a model for a newly added table in one of my apps
and when I execute cake anywhere in my system or app all the way down to
/app/Console I'm greeted with *: No such file or directory*. The version of
Cake makes no difference, I have several versions on the server and I tried
two or three just to be sure.

echoing *$PATH *returns *
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/mnt/share/cake234/lib/Cake/Console
*so the problem is not there.

Everything was working just fine as recently as a couple weeks ago and the
only real change to the system since then was a new install of Nagios.

I'm still getting my feet wet with *nix so really unsure of where to start
looking for the cause of the problem.

Any help would be greatly appreciated.

-- 
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+unsubscr...@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.