UJM-dev / ExoBundle

A Claroline plugin to create exercises
Other
5 stars 12 forks source link

Error when access to my questions bank #5

Open clarophil opened 11 years ago

clarophil commented 11 years ago

I can create exercise but when I want to access to the question bank :+1:

"Twig_Error_Runtime" thrown with message : "An exception has been thrown during the rendering of a template ("") in "UJMExoBundle:Question:index.html.twig" at line 39." (500 Internal Server Error) at n/a in /home/cctest/app/cache/prod/classes.php line 1633 at Twig_Template->displayWithErrorHandling in /home/cctest/app/cache/prod/classes.php line 1603 at Twig_Template->display in /home/cctest/app/cache/prod/twig/66/96/7fc1a5571bca30c5587a7dc7ae1293aa296e71f6a9cf5cbd402d23952e00.php line 34 at TwigTemplate_66967fc1a5571bca30c5587a7dc7ae1293aa296e71f6a9cf5cbd402d23952e00->doDisplay in /home/cctest/app/cache/prod/classes.php line 1622 at Twig_Template->displayWithErrorHandling in /home/cctest/app/cache/prod/classes.php line 1603 at Twig_Template->display in /home/cctest/app/cache/prod/twig/e5/52/7de5d0c7a99e83da9835bce42786fb64f474650c0e952588f4f11542b1bc.php line 29 at __TwigTemplate_e5527de5d0c7a99e83da9835bce42786fb64f474650c0e952588f4f11542b1bc->doDisplay in /home/cctest/app/cache/prod/classes.php line 1622 at Twig_Template->displayWithErrorHandling in /home/cctest/app/cache/prod/classes.php line 1603 at Twig_Template->display in /home/cctest/app/cache/prod/twig/05/b1/a9cfe8001be762035bafe7b98ab3cebd7b52f690e93831db6436ac594628.php line 33 at TwigTemplate_05b1a9cfe8001be762035bafe7b98ab3cebd7b52f690e93831db6436ac594628->doDisplay in /home/cctest/app/cache/prod/classes.php line 1622 at Twig_Template->displayWithErrorHandling in /home/cctest/app/cache/prod/classes.php line 1603 at Twig_Template->display in /home/cctest/app/cache/prod/classes.php line 1610 at Twig_Template->render in /home/cctest/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php line 53 at Symfony\Bridge\Twig\TwigEngine->render in /home/cctest/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 79 at Symfony\Bundle\TwigBundle\TwigEngine->render in /home/cctest/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php line 52 at Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine->render in /home/cctest/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 108 at Symfony\Bundle\TwigBundle\TwigEngine->renderResponse in /home/cctest/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php line 106 at Symfony\Bundle\FrameworkBundle\Controller\Controller->render in /home/cctest/vendor/ujm/exo-bundle/UJM/ExoBundle/Controller/QuestionController.php line 180 at UJM\ExoBundle\Controller\QuestionController->indexAction 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/app/cache/prod/classes.php line 1633 at Twig_Template->displayWithErrorHandling in /home/cctest/app/cache/prod/classes.php line 1603 at Twig_Template->display in /home/cctest/app/cache/prod/twig/66/96/7fc1a5571bca30c5587a7dc7ae1293aa296e71f6a9cf5cbd402d23952e00.php line 34 at TwigTemplate_66967fc1a5571bca30c5587a7dc7ae1293aa296e71f6a9cf5cbd402d23952e00->doDisplay in /home/cctest/app/cache/prod/classes.php line 1622 at Twig_Template->displayWithErrorHandling in /home/cctest/app/cache/prod/classes.php line 1603 at Twig_Template->display in /home/cctest/app/cache/prod/twig/e5/52/7de5d0c7a99e83da9835bce42786fb64f474650c0e952588f4f11542b1bc.php line 29 at __TwigTemplate_e5527de5d0c7a99e83da9835bce42786fb64f474650c0e952588f4f11542b1bc->doDisplay in /home/cctest/app/cache/prod/classes.php line 1622 at Twig_Template->displayWithErrorHandling in /home/cctest/app/cache/prod/classes.php line 1603 at Twig_Template->display in /home/cctest/app/cache/prod/twig/05/b1/a9cfe8001be762035bafe7b98ab3cebd7b52f690e93831db6436ac594628.php line 33 at TwigTemplate_05b1a9cfe8001be762035bafe7b98ab3cebd7b52f690e93831db6436ac594628->doDisplay in /home/cctest/app/cache/prod/classes.php line 1622 at Twig_Template->displayWithErrorHandling in /home/cctest/app/cache/prod/classes.php line 1603 at Twig_Template->display in /home/cctest/app/cache/prod/classes.php line 1610 at Twig_Template->render in /home/cctest/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php line 53 at Symfony\Bridge\Twig\TwigEngine->render in /home/cctest/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 79 at Symfony\Bundle\TwigBundle\TwigEngine->render in /home/cctest/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Debug/TimedTwigEngine.php line 52 at Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine->render in /home/cctest/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 108 at Symfony\Bundle\TwigBundle\TwigEngine->renderResponse in /home/cctest/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php line 106 at Symfony\Bundle\FrameworkBundle\Controller\Controller->render in /home/cctest/vendor/ujm/exo-bundle/UJM/ExoBundle/Controller/QuestionController.php line 180 at UJM\ExoBundle\Controller\QuestionController->indexAction 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

UJM-dev commented 11 years ago

Hello,

Can you precise your problem ? Do you have this error when you want to access to your question's bank form the left menu or from the button into a open exercise ? Are you in prod or dev environment ?

Thank you.

clarophil commented 11 years ago

It’s in prod true environement

[cid:image001.png@01CEC4E5.53078640]

De : UJM-dev [mailto:notifications@github.com] Envoyé : mercredi 9 octobre 2013 11:06 À : UJM-dev/ExoBundle Cc : clarophil Objet : Re: [ExoBundle] Error when access to my questions bank (#5)

Hello,

Can you precise your problem ? Do you have this error when you want to access to your question's bank form the left menu or from the button into a open exercise ? Are you in prod or dev environment ?

Thank you.

— Reply to this email directly or view it on GitHubhttps://github.com/UJM-dev/ExoBundle/issues/5#issuecomment-25956318.

UJM-dev commented 11 years ago

Do you have this error when you want to access to your question's bank form the left menu or from the button into a open exercise ?

clarophil commented 11 years ago

It's from the top menu in the exercise. But I see now tahn it happends only when the bank is empty!