Tu n'aurais pas eu un problème avec tes dépendances? J'avais eu un problème similaire un jour dû à mes dépendances,
fait un coup de composer update ;)
Sinon look ton AppKernel tu n'y aurais pas un problème?
Bonjour
En suivant le tutoriel de winzou, et pour mettre mon site en production en locale... j'ai le PB...
Mon probleme est que la commande: "php app/console cache:clear --env=prod" ne marche plus et affiche le message d'erreur :
[Symfony\Component\Config\Exceptin\FileLoaderLoadException]
There is no extension able to load the configuration for "stof_doctrine_extensions" (in ...)
Et, même que j'ai vidé les dossiers app/cache et app/logs manuellement, je n'arrive pas a mettre mon site en production...et...
http://localhost/Symfony/web/app.php/blog me redirige vers http://localhost/Symfony/web/blog avec le message :
( ! ) Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\InvalidArgumentException' with message 'There is no extension able to load the configuration for "stof_doctrine_extensions" (in D:\wamp\www\Symfony\app/config\config.yml). Looked for namespace "stof_doctrine_extensions", found "framework", "security", "twig", "monolog", "swiftmailer", "assetic", "doctrine", "sensio_framework_extra", "mosa_blog", "mosa_user", "fos_user"' in D:\wamp\www\Symfony\vendor\symfony\symfony\src\Symfony\Component\Config\Loader\FileLoader.php on line 120
ET
( ! ) Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: There is no extension able to load the configuration for "stof_doctrine_extensions" (in D:\wamp\www\Symfony\app/config\config.yml). Looked for namespace "stof_doctrine_extensions", found "framework", "security", "twig", "monolog", "swiftmailer", "assetic", "doctrine", "sensio_framework_extra", "mosa_blog", "mosa_user", "fos_user" in D:\wamp\www\Symfony\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\Loader\YamlFileLoader.php on line 333
web/app.php
1
$kernel = new AppKernel('prod', true);
Symfony 2.6.6
PHP 5.4.16
2 réponses
Bonjour,
Deux ressources qui peuvent aider:
http://symfony2-checklist.com/fr
http://symfony.com/fr/doc/current/cookbook/deployment_tools.html