Hi,

I resolved the problem by adding this code in autoload.php :

$loader->registerNamespaces(array(
  ...
  'Doctrine\\Common\\DataFixtures'     => __DIR__.'/../vendor/doctrine-
data-fixtures/lib',
  ..
));

Make sure you have in your vendor the directory : doctrine-data-
fixtures
If you don't, check the git repository in your directory vendor :

# Doctrine DataFixtures
install_git doctrine-data-fixtures https://github.com/doctrine/data-fixtures.git


++
J

On 22 mar, 10:16, Erkhembayar Gantulga <[email protected]> wrote:
> Fatal error: Class 'Doctrine\Common\DataFixtures\Loader' not found in
> /home/development/sfprojects/sf2/symfony-standard/vendor/symfony/src/Symfon 
> y/Bundle/DoctrineAbstractBundle/Common/DataFixtures/Loader.php
> on line 11
>
> Is this is bug?

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