forget to mention that the vendor has a library folder
doctrine-common

El 27 de marzo de 2011 17:28, César Hernández <dpce...@gmail.com> escribió:

> Excuse my ignorance ...
> my autoload.php contains the following code
>
> <?php
>
> use Symfony\Component\ClassLoader\UniversalClassLoader;
>
> $loader = new UniversalClassLoader();
> $loader->registerNamespaces(array(
>     'Symfony'          => array(__DIR__.'/../vendor/symfony/src',
> __DIR__.'/../vendor/bundles'),
>     'Sensio'           => __DIR__.'/../vendor/bundles',
>     'JMS'              => __DIR__.'/../vendor/bundles',
>     'Doctrine\\Common' => __DIR__.'/../vendor/doctrine-common/lib',
>     'Doctrine\\DBAL'   => __DIR__.'/../vendor/doctrine-dbal/lib',
>     'Doctrine'         => __DIR__.'/../vendor/doctrine/lib',
>     'Zend\\Log'        => __DIR__.'/../vendor/zend-log',
>     'Assetic'          => __DIR__.'/../vendor/assetic/src',
>
>     'Doctrine\\MongoDB'          =>
> __DIR__.'/../vendor/doctrine-mongodb/lib',
>     'Doctrine\\ODM\\MongoDB'     =>
> __DIR__.'/../vendor/doctrine-mongodb-odm/lib',
>     'Acme'             => __DIR__.'/../src',
>     'MiEmpresa'        => __DIR__.'/../src',
> ));
> $loader->registerPrefixes(array(
>     'Twig_Extensions_' => __DIR__.'/../vendor/twig-extensions/lib',
>     'Twig_'            => __DIR__.'/../vendor/twig/lib',
>     'Swift_'           => __DIR__.'/../vendor/swiftmailer/lib/classes',
> ));
> $loader->register();
> $loader->registerPrefixFallback(array(
>
> __DIR__.'/../vendor/symfony/src/Symfony/Component/Locale/Resources/stubs',
> ));
>
> not quite understand what you mean when you say
> I need the master branch of Doctrine Common
>
> 2011/3/27 Christophe COEVOET <s...@notk.org>
>
>> Le 26/03/2011 22:29, César Hernández a écrit :
>>
>>  just registered in the autoload ....
>>>    'Doctrine\\MongoDB'          =>
>>> __DIR__.'/../vendor/doctrine-mongodb/lib',
>>>    'Doctrine\\ODM\\MongoDB'     =>
>>> __DIR__.'/../vendor/doctrine-mongodb-odm/lib',
>>>
>>> But it shows me the following messages
>>>
>>> PHP Fatal error:  Interface 'Doctrine\Common\Persistence\ObjectManager'
>>> not found in
>>> /var/www/sf2-pr8-02/vendor/doctrine-mongodb-odm/lib/Doctrine/ODM/MongoDB/DocumentManager.php
>>> on line 49
>>>
>>> Fatal error: Interface 'Doctrine\Common\Persistence\ObjectManager' not
>>> found in
>>> /var/www/sf2-pr8-02/vendor/doctrine-mongodb-odm/lib/Doctrine/ODM/MongoDB/DocumentManager.php
>>> on line 49
>>>
>>>
>>>  You need the master branch of Doctrine Common
>>
>>
>> --
>> Christophe | Stof
>>
>> --
>> 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
>>
>
>
>
> --
> César Hernández
> Anzoátegui - Venezuela
> dpce...@gmail.com
>
> LinuxCounter: 285.345
> CIV: 122.539
>



-- 
César Hernández
Anzoátegui - Venezuela
dpce...@gmail.com

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 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