caching - Symfony2 - Doctrine:generate:crud - Routing error -
i'm using symfony2 rc3 , have newsbundle has article entity.
i generated crud using command: $ php app/console doctrine:generate:crud (with 'write' set yes).
now, every page on site throws error:
fatal error: label 'not_admin_article_create' defined in /usr/local/zend/apache2/htdocs/aief/app/cache/prod/appprodurlmatcher.php on line 260 if rid of
requirements: { _method: post } for admin_article_create, admin_article_update , admin_article_delete in generated routing yml file, works fine. idea why ?
i came across similar issue recently, google search wasn't give me ideas of look, anyways enough blah blah.
the error getting follows:
enter code here`fatal error: label 'not _ offering management' defined in /...
whats noticed there duplicate entry in routing_dev.yml , routing.yml, issue pops when happen have multiple configurations. think symfony2 bundle generation adds mapping, user accidental re-configures mapping else where.
Comments
Post a Comment