开发者

symfony2 app console: no available command

After HDD crash, I had to reimport my symfony2 app into Eclipse from my SVN server.

After syncing everything, I can't use the console anymore. I only get 2 commands : list and help.

I tried:

    php bin/vendors install --reinstall

At the end, I got the following message:

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

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

My configuration is pretty simple: - ubuntu server 11.04 (64bits) - virtualbox OSE

How can I fix it?

Here is the result of app/console list 开发者_运维技巧command:

    oc@ubuntu-server:/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


OK. As I thought, this is not related to symfony2 but related to virtualbox mounting system.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜