symfony/symfony — Issue #3323: Symfony2: error deploying
Author: sam57
Created: 2012-02-10 20:23:07+00:00
State: open

I have an error when deploying manually my symfony project into my server. I can't do any console command even cache:clear. I have used the :

php app/console cache:clear --no-warmup
PHP Notice: Undefined index: argv in /app/vendor/symfony/src/Symfony/Component/Console/Input/ArgvInput.php on line 57
PHP Warning: array_shift() expects parameter 1 to be array, null given in /app/vendor/symfony/src/Symfony/Component/Console/Input/ArgvInput.php on line 61
PHP Warning: array_shift() expects parameter 1 to be array, null given in /app/vendor/symfony/src/Symfony/Component/Console/Input/ArgvInput.php on line 294
PHP Warning: Invalid argument supplied for foreach() in /app/vendor/symfony/src/Symfony/Component/Console/Input/ArgvInput.php on line 269
Status: 500 Internal Server Error
X-Powered-By: PHP/5.3.8-pl0-gentoo
cache-control: no-cache
date: Fri, 10 Feb 2012 15:31:08 GMT
content-type: text/html; charset=UTF-8

Notice: Undefined index: argv in /app/vendor/symfony/src/Symfony/Component/Console/Input/ArgvInput.php on line 57

Warning: array_shift() expects parameter 1 to be array, null given in /app/vendor/symfony/src/Symfony/Component/Console/Input/ArgvInput.php on line 61

Warning: array_shift() expects parameter 1 to be array, null given in /app/vendor/symfony/src/Symfony/Component/Console/Input/ArgvInput.php on line 294

Warning: Invalid argument supplied for foreach() in /app/vendor/symfony/src/Symfony/Component/Console/Input/ArgvInput.php on line 269

< html >
< head >
< meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
< meta name="robots" content="noindex,nofollow" />
< title>Whoops, looks like something went wrong.

< style>
/* Copyright (c) 2010, Yahoo! Inc. All rights rese

I have printed the app/logs/dev.log error:

[2012-02-10 13:04:58] event.DEBUG: Notified event "kernel.controller" to listener "Acme\DemoBundle\ControllerListener::onKernelController". [] []
[2012-02-10 13:04:58] event.DEBUG: Notified event "kernel.controller" to listener "JMS\SecurityExtraBundle\Controller\ControllerListener::onCoreController". [] []
[2012-02-10 13:04:59] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\Security\Http\Firewall\ContextListener::onKernelResponse". [] []
[2012-02-10 13:04:59] security.DEBUG: Write SecurityContext in the session [] []
[2012-02-10 13:04:59] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse". [] []
[2012-02-10 13:04:59] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Bundle\SecurityBundle\EventListener\ResponseListener::onKernelResponse". [] []
[2012-02-10 13:04:59] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Bridge\Monolog\Handler\FirePHPHandler::onKernelResponse". [] []
[2012-02-10 13:04:59] event.DEBUG: Notified event "kernel.response" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\CacheListener::onKernelResponse". [] []
[2012-02-10 13:04:59] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse". [] []
[2012-02-10 13:04:59] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener::onKernelResponse". [] []

I have no idea and haven't found no description in the web

Please help me

Thanks Sam