Skip to content

Symfony 2.3 RC1 and PdoSessionHandler #8095

Closed
@t3chn0r

Description

@t3chn0r

I just upgraded my project to 2.3.RC1 and now I'm getting this error, not sure if there's something new that I need to do now on my side or if there's something missing with the implementation of PdoSessionHandler:

_Fatal error: Uncaught exception 'InvalidArgumentException' with message '"Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler" requires PDO error mode attribute be set to throw Exceptions (i.e. $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION))' in /var/www/symfony23/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/PdoSessionHandler.php:52 Stack trace: #0 /var/www/symfony23/app/cache/dev/appDevDebugProjectContainer.php(2545): Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler->_construct(Object(PDO), Array) #1 /var/www/symfony23/app/bootstrap.php.cache(152): appDevDebugProjectContainer->getSession_Handler_PdoService() #2 /var/www/symfony23/app/cache/dev/appDevDebugProjectContainer.php(2571): Symfony\Component\DependencyInjection\Container->get('session.handler...') #3 /var/www/symfony23/app/bootstrap.php.cache(152): appDevDebugProjectContainer->getSession_Storage_NativeService() #4 /var/www/symfony23/app/cache/dev/ap in /var/www/symfony23/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/PdoSessionHandler.php on line 52

Regards

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy