The test succeeds, MongoDB PHP driver is installed.

On Thu, Jan 27, 2011 at 6:34 PM, Damon Jones <damonljo...@gmail.com> wrote:

> Make sure that you have installed the MongoDB PHP driver. If so, you
> should be able to test it with a plain PHP script:
> <?php
>
> $m = new Mongo();
>
> http://us2.php.net/manual/en/book.mongo.php
>
> On Jan 27, 11:47 am, La Denise <dfingon...@gmail.com> wrote:
> > Hello everyone,
> >
> > I'm trying to install Symfony2 with the DoctrineMongoDBBundle.
> > But I get stuck when :
> > $dm = $this->get('doctrine.odm.mongodb.document_manager');
> >
> > I get :
> >  Fatal error: Class 'Doctrine\MongoDB\Connection' not found in /Users/
> > dft/Sites/gecollection/app/cache/dev/appDevDebugProjectContainer.php
> > on line 699
> > Call Stack
> > #       Time    Memory  Function        Location
> > 1       0.0001  629560  {main}( )       ../gecollection_dev.php:0
> > 2       0.0014  798704  Symfony\Component\HttpKernel\Kernel->handle( )
>     ../
> > gecollection_dev.php:14
> > 3       0.0078  1557080
> Symfony\Bundle\FrameworkBundle\HttpKernel->handle( )   ../Kernel.php:185
> >
> > 4       0.0078  1557800 Symfony\Component\HttpKernel\HttpKernel->handle(
> )   ../
> > HttpKernel.php:39
> > 5       0.0078  1557800
> Symfony\Component\HttpKernel\HttpKernel->handleRaw( )
>  ../classes.php:1020
> >
> > 6       0.0102  1626352 call_user_func_array ( )
>  ../classes.php:1051
> > 7       0.0102  1626600 Application\Ladenise\CollectionBundle\Controller
> > \CollectionController->indexAction( )        ../classes.php:0
> > 8       0.0102  1626704
> Symfony\Bundle\FrameworkBundle\Controller\Controller->get( )
>  ../CollectionController.php:11
> >
> > 9       0.0102  1626704
> Symfony\Component\DependencyInjection\Container->get( )
>  ../classes.php:1364
> >
> > 10      0.0102  1627144
> appDevDebugProjectContainer->getDoctrine_Odm_Mongodb_DocumentManagerService(
> )   ../Container.php:
> >
> > 222
> > 11      0.0102  1627256
> Symfony\Component\DependencyInjection\Container->get( )
>  ../appDevDebugProjectContainer.php:890
> >
> > 12      0.0103  1627720
> appDevDebugProjectContainer->getDoctrine_Odm_Mongodb_DefaultDocumentManagerService(
> )    ../
> >
> > Container.php:222
> > 13      0.0103  1628400
> Symfony\Component\DependencyInjection\Container->get( )
>  ../appDevDebugProjectContainer.php:760
> >
> > 14      0.0103  1628848
> appDevDebugProjectContainer->getDoctrine_Odm_Mongodb_DefaultConnectionService(
> ) ../Container.php:
> >
> > 222
> >
> > Could you please help me ?
> >
> > - Symfony\Bundle\DoctrineMongoDBBundle\DoctrineMongoDBBundle is
> > registered in my Kernel.
> > - Doctrine\\ODM\\MongoDB namespace is also registered in autoload.php
> >
> > Thanks,
> >
> > La Denise
>
> --
> 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<symfony-users%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?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 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