Exception detected!

Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13)

500 Internal Server Error - ContextErrorException

Stack Trace

  1. in app/cache/prod/classes.php at line 423  -
    1. }
    2. public function gc($maxlifetime)
    3. {
    4. return (bool) $this->handler->gc($maxlifetime);
    5. }
    6. }
    7. }
  2. at ErrorHandler ->handleError ('8', 'SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13)', '/home/origny/home/http/app/cache/prod/classes.php', '423', array('maxlifetime' => '1440'))
  3. at SessionHandler ->gc ('1440')
    in app/cache/prod/classes.php at line 423  +
  4. at SessionHandlerProxy ->gc ('1440')
  5. at session_start ()
    in app/cache/prod/classes.php at line 120  +
  6. at NativeSessionStorage ->start ()
    in app/cache/prod/classes.php at line 478  +
  7. at Session ->start ()
    in vendor/symfony/symfony/src/Symfony/Component/Security/Csrf/TokenStorage/SessionTokenStorage.php at line 89  +
  8. at SessionTokenStorage ->hasToken ('pointweb_boncadeaubundle_formulaire')
    in vendor/symfony/symfony/src/Symfony/Component/Security/Csrf/CsrfTokenManager.php at line 55  +
  9. at CsrfTokenManager ->getToken ('pointweb_boncadeaubundle_formulaire')
    in vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/CsrfTokenManagerAdapter.php at line 47  +
  10. at CsrfTokenManagerAdapter ->generateCsrfToken ('pointweb_boncadeaubundle_formulaire')
    in vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Csrf/CsrfProvider/CsrfProviderAdapter.php at line 49  +
  11. at CsrfProviderAdapter ->getToken ('pointweb_boncadeaubundle_formulaire')
    in vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Csrf/Type/FormTypeCsrfExtension.php at line 109  +
  12. at FormTypeCsrfExtension ->finishView (object(FormView), object(Form), array('block_name' => null, 'disabled' => false, 'label' => null, 'label_format' => null, 'translation_domain' => null, 'auto_initialize' => true, 'trim' => true, 'required' => true, 'read_only' => false, 'max_length' => null, 'pattern' => null, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'virtual' => null, 'compound' => true, 'action' => '', 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'error_mapping' => array(), 'cascade_validation' => false, 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'csrf_provider' => object(CsrfProviderAdapter), 'intention' => null, 'attr' => array(), 'data_class' => 'PointWeb\BonCadeauBundle\Entity\Formulaire', 'empty_data' => object(Closure), 'error_bubbling' => true, 'label_attr' => array(), 'inherit_data' => false, 'method' => 'POST', 'validation_groups' => null, 'constraints' => array(), 'csrf_token_manager' => object(CsrfProviderAdapter), 'csrf_token_id' => null, 'data' => object(Formulaire)))
    in vendor/symfony/symfony/src/Symfony/Component/Form/ResolvedFormType.php at line 183  +
  13. at ResolvedFormType ->finishView (object(FormView), object(Form), array('block_name' => null, 'disabled' => false, 'label' => null, 'label_format' => null, 'translation_domain' => null, 'auto_initialize' => true, 'trim' => true, 'required' => true, 'read_only' => false, 'max_length' => null, 'pattern' => null, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'virtual' => null, 'compound' => true, 'action' => '', 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'error_mapping' => array(), 'cascade_validation' => false, 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'csrf_provider' => object(CsrfProviderAdapter), 'intention' => null, 'attr' => array(), 'data_class' => 'PointWeb\BonCadeauBundle\Entity\Formulaire', 'empty_data' => object(Closure), 'error_bubbling' => true, 'label_attr' => array(), 'inherit_data' => false, 'method' => 'POST', 'validation_groups' => null, 'constraints' => array(), 'csrf_token_manager' => object(CsrfProviderAdapter), 'csrf_token_id' => null, 'data' => object(Formulaire)))
    in vendor/symfony/symfony/src/Symfony/Component/Form/ResolvedFormType.php at line 176  +
  14. at ResolvedFormType ->finishView (object(FormView), object(Form), array('block_name' => null, 'disabled' => false, 'label' => null, 'label_format' => null, 'translation_domain' => null, 'auto_initialize' => true, 'trim' => true, 'required' => true, 'read_only' => false, 'max_length' => null, 'pattern' => null, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'virtual' => null, 'compound' => true, 'action' => '', 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'error_mapping' => array(), 'cascade_validation' => false, 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'csrf_provider' => object(CsrfProviderAdapter), 'intention' => null, 'attr' => array(), 'data_class' => 'PointWeb\BonCadeauBundle\Entity\Formulaire', 'empty_data' => object(Closure), 'error_bubbling' => true, 'label_attr' => array(), 'inherit_data' => false, 'method' => 'POST', 'validation_groups' => null, 'constraints' => array(), 'csrf_token_manager' => object(CsrfProviderAdapter), 'csrf_token_id' => null, 'data' => object(Formulaire)))
    in vendor/symfony/symfony/src/Symfony/Component/Form/Form.php at line 1064  +
  15. at Form ->createView ()
    in src/PointWeb/BonCadeauBundle/Controller/DefaultController.php at line 66  +
  16. at DefaultController ->showAction ('16', object(Request))
  17. at call_user_func_array (array(object(DefaultController), 'showAction'), array('16', object(Request)))
    in app/bootstrap.php.cache at line 3054  +
  18. at HttpKernel ->handleRaw (object(Request), '1')
    in app/bootstrap.php.cache at line 3016  +
  19. at HttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 3165  +
  20. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 2406  +
  21. at Kernel ->handle (object(Request))
    in web/app.php at line 28  +

Logs  -

Stack Trace (Plain Text)  +