Hi, Due to the fact that the documentation is outdated I updated the installation and configuration section for the MongoDB cookbook entry.
Here is the pull request: https://github.com/symfony/symfony-docs/pull/419 I got the same error before adding the "doctrine_mongodb:" section in config.yml Cheers, Herbert Am 19.06.11 10:08, schrieb Dan Leech: > hi > > In a new project with BETA5, following the "How to use MongoDB" article > (btw the vendor dependencies section is out of date) > > I created some entities and ran doctrine:mongodb:mapping:info and got > the following error: > > > [InvalidArgumentException] > > > The parameter "doctrine.odm.mongodb.default_document_manager" must be > defined. > > To fix I added the following to > "DoctrineMongoDBBundle\DependencyInjection\DoctinreMongoDBExtension::loadDocumentManagers" > > > $container->setParameter('doctrine.odm.mongodb.default_document_manager', > $defaultDM); > > Bug? > > cheers > > dan > > -- > Dan Leech > > Web Developer > www.dantleech.com <http://www.dantleech.com> > > -- > If you want to report a vulnerability issue on symfony, please send it > to security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony developers" group. > To post to this group, send email to symfony-devs@googlegroups.com > To unsubscribe from this group, send email to > symfony-devs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en