iCAPLyon1 / BlogBundle

A Claroline plugin to add blog resources.
https://github.com/claroline/Claroline
4 stars 5 forks source link

Blog is broken after claroline core upgrade #9

Closed clarophil closed 10 years ago

clarophil commented 10 years ago

After upgrade of claroline core 2.1.8

"Doctrine\DBAL\DBALException" thrown with message : "An exception occurred while executing 'SELECT t0.infos AS infos1, t0.id AS id2, t3.id AS id4, t3.authorize_comment AS authorize_comment5, t3.authorize_anonymous_comment AS authorize_anonymous_comment6, t3.post_per_page AS post_per_page7, t3.auto_publish_post AS auto_publish_post8, t3.auto_publish_comment AS auto_publish_comment9, t3.banner_activate AS banner_activate10, t3.banner_background_color AS banner_background_color11, t3.banner_height AS banner_height12, t3.banner_background_image AS banner_background_image13, t3.banner_background_image_position AS banner_background_image_position14, t3.banner_background_image_repeat AS banner_background_image_repeat15, t3.blog_id AS blog_id16, t0.resourceNode_id AS resourceNode_id17 FROM icapblog t0 LEFT JOIN icapblog_options t3 ON t3.blog_id = t0.id WHERE t0.resourceNode_id = ? LIMIT 1' with params [21]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't3.banner_activate' in 'field list'" (500 Internal Server Error) at n/a in /home/cctest/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 91 at Doctrine\DBAL\DBALException::driverExceptionDuringQuery in /home/cctest/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 701 at Doctrine\DBAL\Connection->executeQuery in /home/cctest/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php line 748 at Doctrine\ORM\Persisters\BasicEntityPersister->load in /home/cctest/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php line 196 at Doctrine\ORM\EntityRepository->findOneBy in /home/cctest/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php line 241 at Doctrine\ORM\EntityRepository->__call in /home/cctest/vendor/claroline/core-bundle/Claroline/CoreBundle/Manager/ResourceManager.php line 1026 at Icap\BlogBundle\Repository\BlogRepository->findOneByResourceNode in /home/cctest/vendor/claroline/core-bundle/Claroline/CoreBundle/Manager/ResourceManager.php line 1026 at Claroline\CoreBundle\Manager\ResourceManager->getResourceFromNode in /home/cctest/vendor/claroline/core-bundle/Claroline/CoreBundle/Controller/ResourceController.php line 168 at Claroline\CoreBundle\Controller\ResourceController->openAction in line at call_user_func_array in /home/cctest/app/bootstrap.php.cache line 2815 at Symfony\Component\HttpKernel\HttpKernel->handleRaw in /home/cctest/app/bootstrap.php.cache line 2789 at Symfony\Component\HttpKernel\HttpKernel->handle in /home/cctest/app/bootstrap.php.cache line 2918 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle in /home/cctest/app/bootstrap.php.cache line 2220 at Symfony\Component\HttpKernel\Kernel->handle in /home/cctest/web/app.php line 19at n/a in /home/cctest/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 91 at Doctrine\DBAL\DBALException::driverExceptionDuringQuery in /home/cctest/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 701 at Doctrine\DBAL\Connection->executeQuery in /home/cctest/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php line 748 at Doctrine\ORM\Persisters\BasicEntityPersister->load in /home/cctest/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php line 196 at Doctrine\ORM\EntityRepository->findOneBy in /home/cctest/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php line 241 at Doctrine\ORM\EntityRepository->__call in /home/cctest/vendor/claroline/core-bundle/Claroline/CoreBundle/Manager/ResourceManager.php line 1026 at Icap\BlogBundle\Repository\BlogRepository->findOneByResourceNode in /home/cctest/vendor/claroline/core-bundle/Claroline/CoreBundle/Manager/ResourceManager.php line 1026 at Claroline\CoreBundle\Manager\ResourceManager->getResourceFromNode in /home/cctest/vendor/claroline/core-bundle/Claroline/CoreBundle/Controller/ResourceController.php line 168 at Claroline\CoreBundle\Controller\ResourceController->openAction in line at call_user_func_array in /home/cctest/app/bootstrap.php.cache line 2815 at Symfony\Component\HttpKernel\HttpKernel->handleRaw in /home/cctest/app/bootstrap.php.cache line 2789 at Symfony\Component\HttpKernel\HttpKernel->handle in /home/cctest/app/bootstrap.php.cache line 2918 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle in /home/cctest/app/bootstrap.php.cache line 2220 at Symfony\Component\HttpKernel\Kernel->handle in /home/cctest/web/app.php line 19

maxailloud commented 10 years ago

Sorry, I made a mistake with git.

It should be okay.