Saturday, February 4, 2012

Cake 2.0.5 console problem

Have fresh install in development mode and have included lib folder in
linux path.
Logged into shell on shared host
php version 5.3.10
However when running cake, with or without any arguments get this
error

$cake
PHP Notice: Undefined variable: argv in /home/sites/mysite.com/
public_html/cake2/lib/Cake/Console/cake.php
on line 24
PHP Warning: array_search() expects parameter 2 to be array, null
given in /home/sites/mysite.com/public_html/cake2/lib/Cake/Console/
ShellDispatcher.php
on line 292
PHP Warning: array_splice() expects parameter 1 to be array, null
given in /home/sites/mysite.com/public_html/cake2/lib/Cake/Console/
ShellDispatcher.php
on line 296
PHP Warning: array_search() expects parameter 2 to be array, null
given in /home/sites/mysite.com/public_html/cake2/lib/Cake/Console/
ShellDispatcher.php
on line 292
PHP Warning: array_splice() expects parameter 1 to be array, null
given in /home/sites/mysite.com/public_html/cake2/lib/Cake/Console/
ShellDispatcher.php
on line 296

What is causing this behaviour? Must be a problem with the environment
as far as I can tell
What other info needed to troubleshoot?
Any suggestions much appreciated!

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: