Yo estoy avanzando en mi primera prueba ODM e instale esas dos librerias vendor como doctrine-mongodb y doctrine-mongodb-odm Tratando de seguir el consejo de fabien de seguir las mejores practicas...
2011/3/18, Julian Reyes Escrigas <[email protected]>: > Bueno te cuento he logrado que funcione correctamente > > hay que añadir dos namespaces > > 'Doctrine\\MongoDB > 'Doctrine\\ODM\\MongoDB' > > una vez hecho esto indica otro fatal que dice que no encuentra > DocumentManager, en el caso mio yo lo tengo desde el repo de GIT segun lei > solo hay que mezclarlo con el master es posible que te lanze un problema de > mezcla yo simplemente le deje la version superior y listo funciona > correctamente > > -- > Julian Reyes Escrigas > Desarrollador PHP/MySQL > rkmax.tumblr.com > about.me/rkmax > twttier.com/rokemaster > github.com/rokemaster > Sent with Sparrow > On Thursday, March 17, 2011 at 4:11 PM, Julian Reyes Escrigas wrote: >> claro instale mongo en Ubuntu atraves de PECL registrado y comprobado en >> el Mac tambien lo instale y funciona hice pruebas con php plano cree una >> coleccion hice pruebas y todos fuciona bien >> >> -- >> Julian Reyes Escrigas >> Desarrollador PHP/MySQL >> rkmax.tumblr.com >> about.me/rkmax >> twttier.com/rokemaster >> github.com/rokemaster >> Sent with Sparrow >> On Thursday, March 17, 2011 at 4:09 PM, César Hernández wrote: >> > Instalaste... >> > MongoDB y el >> > Driver de Mongo para PHP >> > >> > Actualizaste php.ini >> > para registrar el driver ? >> > >> > Creaste la carpeta >> > /data/db ? >> > >> > 2011/3/18 Julian Reyes Escrigas <[email protected]> >> > > i cant get connection i use symfony-standard PR07 >> > > >> > > autoload.php i setup namespaces >> > > >> > > Doctrine\\MongoDB >> > > Doctrine\\ODM\\MongoDB >> > > >> > > in AppKernel.php >> > > >> > > new Symfony\Bundle\DoctrineMongoDBBundle\\DoctrineMongoDBBundle() >> > > >> > > but i get >> > > >> > > Fatal Error: Interface 'Doctrine\Common\Persistence\ObjectManager' no >> > > found >> > > >> > > and if i dont setup in autoload.php the namespace >> > > >> > > Doctrine\\MongoDB >> > > >> > > i get: >> > > Fatal Error: Class 'Doctrine\MongoDB\Connection' not found >> > > >> > > somebody can help me to config MongoDB >> > > >> > > >> > > >> > > >> > > >> > > >> > > -- >> > > Julian Reyes Escrigas >> > > Desarrollador PHP/MySQL >> > > rkmax.tumblr.com >> > > about.me/rkmax >> > > twttier.com/rokemaster >> > > github.com/rokemaster >> > > Sent with Sparrow >> > > -- >> > > 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 >> > > >> > >> > >> > -- >> > César Hernández >> > Anzoátegui - Venezuela >> > [email protected] >> > >> > LinuxCounter: 285.345 >> > CIV: 122.539 >> > -- >> > 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 >> > >> > > -- > 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 > -- Enviado desde mi dispositivo móvil César Hernández Anzoátegui - Venezuela [email protected] LinuxCounter: 285.345 CIV: 122.539 -- 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
