Skip to content

Instantly share code, notes, and snippets.

@whisher
Last active August 29, 2015 14:01
Show Gist options
  • Select an option

  • Save whisher/383e9044ae5a9da618d6 to your computer and use it in GitHub Desktop.

Select an option

Save whisher/383e9044ae5a9da618d6 to your computer and use it in GitHub Desktop.
[Symfony\Component\Config\Exception\FileLoaderLoadException]
Cannot import resource "@WebProfilerBundle/Resources/config/routing/wdt.xml
" from "/home/whisher/public_html/myproject/app/config/routing.yml"
. Make sure the "WebProfilerBundle" bundle is correctly registered and load
ed in the application kernel class.
[InvalidArgumentException]
Bundle "WebProfilerBundle" does not exist or it is not enabled. Maybe you f
orgot to add it in the registerBundles() method of your AppKernel.php file?
router:debug [--show-controllers] [--format="..."] [--raw] [name]
==========================
routing.yml
------------
_main:
resource: routing.yml
# AcmeDemoBundle routes (to be removed)
_acme_demo:
resource: "@AcmeDemoBundle/Resources/config/routing.yml"
php app/console router:debug --env=prod
[Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException]
Circular reference detected in "/home/whisher/public_html/myproject
/app/config/routing.yml" ("/home/whisher/public_html/myproject/app/
config/routing.yml" > "/home/whisher/public_html/symfony/myproject/app/conf
ig/routing.yml").
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment