If I created a new instance of the new Symfony Bundle \ Bundle \
DoctrineMongoDBBundle \ DoctrineMongoDBBundle (), and I start the
console hello php / console, an error message

C: \ Users \ Me \ Documents \ devweb \ sandsf2> hello php / console
PHP Fatal error: Class 'Doctrine \ ODM \ MongoDB \ Tools \ Console \
Command \ Schema \ CreateCommand' not found in C: \ Users \ Me \
Documents \ devweb \ sandsf2 \ src \ vendor \ symfony \ src \ symfony
\ Bundle \ DoctrineMongoDBBundle \ Command \
CreateSchemaDoctrineODMCommand.php on line 18

I think that the files have just been forgotten.

Other problem:

If a try to test this: (from 
http://docs.symfony-reloaded.org/guides/doctrine/mongodb-odm/overview.html)
$dm = $this->container-
>getService('doctrine.odm.mongodb.document_manager');
        $dm->persist($user);
        $dm->flush();

I have an error:
Call to undefined method helloDevDebugProjectContainer::getService.

-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to