Re: Problem running Cake command line
hi everyone
i found that in the QNAP environment, the dirname function cannot have "--" in the cake script.
hence it generated the USAGE error message.
thanks
chris
On Monday, April 8, 2013 3:55:30 PM UTC+8, Yen Hua Chuah wrote:
hi--
can anyone help me with this error whenever i run the cake command link. seems like dirname function is giving this Usage: dirname FILENAME problem.
Please help!!
thanks
chris
======== screen output ============
[/share/Web/cake/lib/Cake/Console] # cake Hello
BusyBox v1.01 (2013.02.28-19:11+0000) multi-call binary
Usage: dirname FILENAME
Strips non-directory suffix from FILENAME
/share/Web/cake/lib/Cake/Console/cake: line 27: cd: : No such file or directory
BusyBox v1.01 (2013.02.28-19:11+0000) multi-call binary
Usage: dirname FILENAME
Strips non-directory suffix from FILENAME
/share/Web/cake/lib/Cake/Console/cake: line 39: exec: php: not found
[/share/Web/cake/lib/Cake/Console] # echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/ share/Web/cake/lib/Cake/ Console:/opt/bin:/opt/sbin
[/share/Web/cake/lib/Cake/Console] #
============ End =============
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home