sonata-project / SonataPageBundle

This bundle provides a Site and Page management through container and block services
https://docs.sonata-project.org/projects/SonataPageBundle
MIT License
216 stars 209 forks source link

There is no extension able to load the configuration for "ApplicationSonataPageBundle" #14

Closed quaninte closed 13 years ago

quaninte commented 13 years ago

I got this error when running command:

app/console sonata:page:update-core-routes

Error: There is no extension able to load the configuration for "ApplicationSonataPageBundle" (in /Volumes/Files/Work/php/vouchersupermarket/app/config/config.yml). Looked for namespace "ApplicationSonataPageBundle", found "framework", "security", "twig", "monolog", "swiftmailer", "doctrine", "assetic", "sensio_framework_extra", "jms_security_extra", "brodev_user", "stof_doctrine_extensions", "knp_menu", "fos_user", "brodev_voucher", "sonata_admin", "sonata_page", "sonata_easy_extends", "acme_demo", "web_profiler", "sensio_distribution"

rande commented 13 years ago

fix your configuration ... you have ApplicationSonataPageBundle at the beginning of one line

quaninte commented 13 years ago

I followed install instruction

Then add these bundles in the config mapping definition :

.. code-block:: yaml

app/config/config.yml

ApplicationSonataPageBundle: ~ SonataPageBundle: ~

How should I set in config file?

rande commented 13 years ago

please have a look to the sonata sandbox

tonydamage commented 12 years ago

This is issue of documentation, please update documentation. Referencing sandbox project is wrong way to document this.