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
它不能与symfony相关。我创建了另一个项目,安装了symfony2 RC5并收到了相同的消息...仍然在调查... – ocornu
我遇到了同样的问题,您是如何解决这个问题的? – Geert
好吧,“projets”文件夹使用Virtualbox共享文件夹系统安装在“/ var/www”中。我不知道它是否与Virtualbox共享文件夹或Guest添加相关,但将Virtualbox升级到4.1.2可解决此问题。 – ocornu