2011-07-23 103 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

相關問題