У меня ошибка при развертывании моего проекта Symfony вручную на моем сервере.Я не могу выполнить любую консольную команду, даже кеш: очистить.Я использовал:
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
<br />
<b>Notice</b>: Undefined index: argv in <b>/app/vendor/symfony/src/Symfony/Component/Console/Input/ArgvInput.php</b> on line <b>57</b><br />
<br />
<b>Warning</b>: array_shift() expects parameter 1 to be array, null given in <b>/app/vendor/symfony/src/Symfony/Component/Console/Input/ArgvInput.php</b> on line <b>61</b><br />
<br />
<b>Warning</b>: array_shift() expects parameter 1 to be array, null given in <b>/app/vendor/symfony/src/Symfony/Component/Console/Input/ArgvInput.php</b> on line <b>294</b><br />
<br />
<b>Warning</b>: Invalid argument supplied for foreach() in <b>/app/vendor/symfony/src/Symfony/Component/Console/Input/ArgvInput.php</b> on line <b>269</b><br />
<!DOCTYPE html>
<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.</title>
<style>
/* Copyright (c) 2010, Yahoo! Inc. All rights rese
Я напечатал app / logs / dev.log Ошибка:
[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". [] []
Понятия не имею и описания вИнтернет
Пожалуйста, помогите мне
Спасибо Сэм