symfony/symfony-docs — Issue #863: [DoctrineMongoDBBundle] missing "version" in deps file => fatal error
Author: pmartin
Created: 2011-11-20 21:59:00+00:00
State: open

On http://symfony.com/doc/2.0/bundles/DoctrineMongoDBBundle/index.html at the end of the "Installation" section, it is said "You're ready to get to work".

But, if I follow the instructions, I instead get a Fatal Error.

It seems a "version" information is missing in the first code block -- the one that describes what must be added to the `deps` file.
Instead of this :

[DoctrineMongoDBBundle]
git=http://github.com/symfony/DoctrineMongoDBBundle.git
target=/bundles/Symfony/Bundle/DoctrineMongoDBBundle

The `[DoctrineMongoDBBundle]` section should look like this :

[DoctrineMongoDBBundle]
git=http://github.com/symfony/DoctrineMongoDBBundle.git
target=/bundles/Symfony/Bundle/DoctrineMongoDBBundle
version=v2.0.0

This problem is described here : http://stackoverflow.com/questions/7985248/doctrinemongodbbundle-getting-a-fatal-error-in-symfony2 *(and that's where I found this solution)*.