Bonjour,
Lorsque j'essaie de créer un bundle, j'ai cette erreur :
E:\EasyPHP-12.1\www>php app/console generate:bundle "Iabsis\VideothequeBundle" src
'mode' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
Fatal error: Uncaught exception 'ErrorException' with message 'Notice: Undefined offset: 4 in E:\EasyPHP-12.1\www\vendor\symfony\symfony\src\Symfony\C
omponent\Console\Application.php line 852' in E:\EasyPHP-12.1\www\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:852
Stack trace:
#0 E:\EasyPHP-12.1\www\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php(852): Symfony\Component\HttpKernel\Debug\ErrorHandler->han
dle(8, 'Undefined offse...', 'E:\EasyPHP-12.1...', 852, Array)
#1 E:\EasyPHP-12.1\www\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php(780): Symfony\Component\Console\Application->getTerminalWi
dth()
#2 E:\EasyPHP-12.1\www\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php(113): Symfony\Component\Console\Application->renderExcepti
on(Object(ErrorException), Object(Symfony\Component\Console\Output\StreamOutput))
#3 E:\EasyPHP-12.1\www\app\console(22): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput))
in E:\EasyPHP-12.1\www\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php on line 852
J'ai essayé avec la version 5.3.3.1 et 12-1 d'EasyPHP et j'ai la même erreur.
Je suppose que le problème provient de :
'mode' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
mais je ne sais pas ce que c'est.
A noter que lorsque je visite la page web/config.php j'ai ceci :
Install and enable the intl extension (used for validators).
Install and enable a PHP accelerator like APC (highly recommended).
Cela fait plusieurs heures que je recherche sur Google sans succès, le problème vient-il d'EasyPHP, faut-il tout installer séparément?
Merci d'avance de votre réponse
C'est mes premiers pas sur un framework en php et c'est un peu dur (ça change beaucoup de Struts en Java)
Partager