I believe I went past the problem listed below.
I just realized that Doctrine for MongoDB is not included in the PR12
distribution.

So, I made the following changes:
- updated AppKernel.php as follows:
  added    new Symfony\Bundle\DoctrineMongoDBBundle
\DoctrineMongoDBBundle(),
- updated autoload.php as follows:
  added   'Doctrine\\ODM\\MongoDB' => __DIR__.'/../vendor/doctrine-odm/
lib',

Added the missing files under vendor/doctrine-odm/lib/Doctrine/ODM/
MongoDB
(this last I was just guessing as I haven't seen references on the
correct path).

I reran and it but found an undefined method, missing some injection
setting:
Fatal error: Call to undefined method Symfony\Component\Config
\Definition\Builder\ArrayNodeDefinition::scalarNode() in C:\bin\Symfony
\vendor\bundles\FOS\UserBundle\DependencyInjection\Configuration.php
on line 29

Any ideas?



On Apr 19, 1:56 pm, JC <julio.castillo.2...@gmail.com> wrote:
> I am running the latest version of Symfony2 (PR12) and tried to use
> the UserBundle but it is complaining about the setting on the
> config.yml file that relates to MongoDB with the following exception:
>
> Fatal error: Uncaught exception 'InvalidArgumentException' with
> message 'There is no extension able to load the configuration for
> "doctrine_mongo_db" (in C:\bin\Symfony\app/config\config.yml).' in C:
> \bin\Symfony\vendor\symfony\src\Symfony\Component\Config\Loader
> \FileLoader.php on line 72
>
> I just followed the instructions in the documentation and added the
> following entry to the config.yml file:
>
> doctrine_mongo_db:
>     document_managers:
>         default:
>             mappings:
>                 FOSUserBundle: ~
>
> Am I missing something here. I did see a previous posting last year
> around the same topic with an earlier version of Symfony2 but no
> resolution.

-- 
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to