Kunstmaan / KunstmaanBundlesStandardEdition

The "Kunstmaan Bundles Standard Edition" distribution
http://bundles.kunstmaan.be
MIT License
89 stars 39 forks source link

Issue during fixture installation #238

Closed TomasBruzgelevicius closed 7 years ago

TomasBruzgelevicius commented 7 years ago

Hi all,

Errors is outputted when I try to install fixture following your tutorial :

@2d37af4d35ae:/var/www/KunstmaanBundlesStandardEdition# bin/console doctrine:fixtures:load Careful, database will be purged. Do you want to continue y/N ?y

purging database loading [1] Kunstmaan\MediaBundle\DataFixtures\ORM\FolderFixtures loading [1] Kunstmaan\TranslatorBundle\DataFixtures\ORM\TranslationFixtures loading [1] Kunstmaan\GeneratorBundle\DataFixtures\ORM\RoleFixtures loading [2] Kunstmaan\GeneratorBundle\DataFixtures\ORM\GroupFixtures loading [3] Kunstmaan\GeneratorBundle\DataFixtures\ORM\UserFixtures User 'admin' created with password 'gV8MzkKB' loading [51] Acme\Bundle\BlogBundle\DataFixtures\ORM\DefaultSiteGenerator\DefaultSiteFixtures [2017-02-25 21:58:27] app.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Class 'Acme\Bundle\BlogBundle\DataFixtures\ORM\DefaultSiteGenerator\HomePage' not found (uncaught exception) at /var/www/KunstmaanBundlesStandardEdition/src/Acme/Bundle/BlogBundle/DataFixtures/ORM/DefaultSiteGenerator/DefaultSiteFixtures.php line 102 while running console command doctrine:fixtures:load {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Class 'Acme\Bundle\BlogBundle\DataFixtures\ORM\DefaultSiteGenerator\HomePage' not found at /var/www/KunstmaanBundlesStandardEdition/src/Acme/Bundle/BlogBundle/DataFixtures/ORM/DefaultSiteGenerator/DefaultSiteFixtures.php:102)"} {"file":"/var/www/KunstmaanBundlesStandardEdition/vendor/kunstmaan/bundles-cms/src/Kunstmaan/AdminBundle/EventListener/ConsoleExceptionListener.php","line":28,"class":"Kunstmaan\AdminBundle\EventListener\ConsoleExceptionListener","function":"onConsoleException"}

Parse error: syntax error, unexpected '}', expecting \ (T_NS_SEPARATOR) in /var/www/KunstmaanBundlesStandardEdition/vendor/kunstmaan/bundles-cms/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/defaultsite/Entity/Pages/HomePage.php on line 3

Fatal error: Exception thrown without a stack frame in Unknown on line 0

Any suggestions how to fix it?

Thanks!

Devolicious commented 7 years ago

Hi @TomasBruzgelevicius,

We had an issue with our generators in one of our previous version. This problem should be fixed now.