2011-07-23 44 views
1

硬盘崩溃后,我不得不将我的symfony2应用程序从我的SVN服务器重新导入Eclipse。symfony2应用程序控制台:没有可用的命令

同步所有内容后,我无法再使用控制台。我只得到2个命令:列表和帮助。

我想:

php bin/vendors install --reinstall 

最后,我得到了以下信息:

[InvalidArgumentException]         
    There are no commands defined in the "assets" namespace. 

    [InvalidArgumentException]        
    There are no commands defined in the "cache" namespace. 

我的配置是相当简单: - Ubuntu服务器11.04(64位) - VirtualBox的OSE

我该如何解决?

这里是应用程序/控制台list命令的结果:

[email protected]:/var/www/projets/Simoov2/src$ app/console list 
    Symfony version 2.0.0-RC4 - app/dev/debug 

    Usage: 
     [options] command [arguments] 

    Options: 
     --help   -h Display this help message. 
     --quiet   -q Do not output any message. 
     --verbose  -v Increase verbosity of messages. 
     --version  -V Display this program version. 
     --ansi    Force ANSI output. 
     --no-ansi   Disable ANSI output. 
     --no-interaction -n Do not ask any interactive question. 
     --shell   -s Launch the shell. 
     --env   -e The Environment name. 
     --no-debug   Switches off debug mode. 

    Available commands: 
     help Displays help for a command 
     list Lists commands 
+0

它不能与symfony相关。我创建了另一个项目,安装了symfony2 RC5并收到了相同的消息...仍然在调查... – ocornu

+0

我遇到了同样的问题,您是如何解决这个问题的? – Geert

+0

好吧,“projets”文件夹使用Virtualbox共享文件夹系统安装在“/ var/www”中。我不知道它是否与Virtualbox共享文件夹或Guest添加相关,但将Virtualbox升级到4.1.2可解决此问题。 – ocornu

回答

1

确定。正如我的想法,这与symfony2无关,但与virtualbox安装系统有关。

+1

等等?你能以正确的方式解决同样的问题吗?谢谢 – tanzio

相关问题