doctrine/DoctrineFixturesBundle — Issue #27: The autoloader expected class "Doctrine\Bundle\DoctrineFixturesBundle\DoctrineFixturesBundle" to be defined ...
Author: hd-deman
Created: 2012-01-11 09:23:12+00:00
State: open

in my deps

```
[DoctrineFixturesBundle]
git=git://github.com/doctrine/DoctrineFixturesBundle.git
target=/bundles/Doctrine/Bundle/DoctrineFixturesBundle
```

in my autoload:

```
'Doctrine\\Common\\DataFixtures' => __DIR__.'/../vendor/doctrine-fixtures/lib',

'Symfony' => array(__DIR__.'/../vendor/symfony/src', __DIR__.'/../vendor/bundles'),
'Sensio' => __DIR__.'/../vendor/bundles',
'JMS' => __DIR__.'/../vendor/bundles',
'Doctrine\\Bundle' => __DIR__.'/../vendor/bundles',
'Doctrine\\Common' => __DIR__.'/../vendor/doctrine-common/lib',
'Doctrine\\DBAL' => __DIR__.'/../vendor/doctrine-dbal/lib',
'Doctrine' => __DIR__.'/../vendor/doctrine/lib',
'Monolog' => __DIR__.'/../vendor/monolog/src',
'Assetic' => __DIR__.'/../vendor/assetic/src',
'Metadata' => __DIR__.'/../vendor/metadata/src',
```

AppKernel:

```
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(),
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
new Symfony\Bundle\AsseticBundle\AsseticBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new JMS\SecurityExtraBundle\JMSSecurityExtraBundle(),

new Chewbacca\CoreBundle\ChewbaccaCoreBundle(),
new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
new Acme\Lacroco\ParserBundle\AcmeLacrocoParserBundle(),
new Chewbacca\StoreBundle\StoreCoreBundle\ChewbaccaStoreCoreBundle(),
new Acme\Lacroco\StoreBundle\AcmeLacrocoStoreBundle(),
new Avalanche\Bundle\ImagineBundle\AvalancheImagineBundle(),
new FOS\UserBundle\FOSUserBundle(),
new Chewbacca\Backend\CoreBundle\ChewbaccaBackendCoreBundle(),
new Acme\Lacroco\Backend\StoreBundle\AcmeLacrocoBackendStoreBundle(),

// Admin Generator
new Admingenerator\GeneratorBundle\AdmingeneratorGeneratorBundle(),
new Knp\Bundle\MenuBundle\KnpMenuBundle(),
new WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle(),
new Doctrine\Bundle\DoctrineFixturesBundle\DoctrineFixturesBundle(),
new JMS\AopBundle\JMSAopBundle(),
```

when update/install vensodrs get error:

```
The autoloader expected class "Doctrine\Bundle\DoctrineFixturesBundle\DoctrineFixturesBundle" to be defined in file
"vendor/bundles/Doctrine/Bundle/DoctrineFixturesBundle/DoctrineFixturesBundle.php".
The file was found but the class was not in it, the class name or namespace probably has a typo.
```