session.auto_start Fehler (gelöst)

Wenn ich in der php.ini session.auto_start aktiviere läuft mein Shop nicht mehr und ich erhalte folgende Fehlermeldung:

 

session has already been started by session.auto-start or session_start() in Zend/Session.php on line 473

Stack trace:

_#0 Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(403): Zend\_Session::start(Array) #1 Enlight/Event/Handler/Plugin.php(149): Shopware\_Plugins\_Backend\_Auth\_Bootstrap-\>onInitResourceBackendSession(Object(Enlight\_Event\_EventArgs)) #2 Enlight/Event/EventManager.php(251): Enlight\_Event\_Handler\_Plugin-\>execute(Object(Enlight\_Event\_EventArgs)) #3 Shopware/Components/DependencyInjection/Container.php(247): Enlight\_Event\_EventManager-\>notifyUntil('Enlight\_Bootstr...', Array) #4 Shopware/Bootstrap.php(150): Shopware\Components\DependencyInjection\Container-\>load('BackendSession') #5 Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(470): Shopware\_Bootstrap-\>loadResource('BackendSession') #6 Enlight/Event/Handler/Plugin.php(149): Shopware\_Plugins\_Backend\_Auth\_Bootstrap-\>onInitResourceAuth(Object(Enlight\_Event\_EventArgs)) #7 Enlight/Event/EventManager.php(251): Enlight\_Event\_Handler\_Plugin-\>execute(Object(Enlight\_Event\_EventArgs)) #8 Shopware/Components/DependencyInjection/Container.php(247): Enlight\_Event\_EventManager-\>notifyUntil('Enlight\_Bootstr...', Array) #9 Shopware/Components/DependencyInjection/Container.php(142): Shopware\Components\DependencyInjection\Container-\>load('auth') #10 Shopware/Bootstrap.php(106): Shopware\Components\DependencyInjection\Container-\>has('Auth') #11 Enlight/Application.php(454): Shopware\_Bootstrap-\>hasResource('Auth') #12 Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(509): Enlight\_Application-\>\_\_call('Auth', Array) #13 Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(509): Shopware-\>Auth() #14 Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(265): Shopware\_Plugins\_Backend\_Auth\_Bootstrap-\>getCurrentLocale() #15 Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(208): Shopware\_Plugins\_Backend\_Auth\_Bootstrap-\>initLocale() #16 Enlight/Event/Handler/Plugin.php(149): Shopware\_Plugins\_Backend\_Auth\_Bootstrap-\>onPreDispatchBackend(Object(Enlight\_Controller\_ActionEventArgs)) #17 Enlight/Event/EventManager.php(210): Enlight\_Event\_Handler\_Plugin-\>execute(Object(Enlight\_Controller\_ActionEventArgs)) #18 Enlight/Controller/Action.php(137): Enlight\_Event\_EventManager-\>notify('Enlight\_Control...', Object(Enlight\_Controller\_ActionEventArgs)) #19 Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch('indexAction') #20 Enlight/Controller/Front.php(226): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #21 Shopware/Kernel.php(153): Enlight\_Controller\_Front-\>dispatch() #22 vendor/symfony/http-kernel/HttpCache/HttpCache.php(492): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #24 vendor/symfony/http-kernel/HttpCache/HttpCache.php(449): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #25 vendor/symfony/http-kernel/HttpCache/HttpCache.php(349): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>fetch(Object(Symfony\Component\HttpFoundation\Request), true) #26 Shopware/Components/HttpCache/AppCache.php(178): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>lookup(Object(Symfony\Component\HttpFoundation\Request), true) #27 vendor/symfony/http-kernel/HttpCache/HttpCache.php(213): Shopware\Components\HttpCache\AppCache-\>lookup(Object(Symfony\Component\HttpFoundation\Request), true) #28 Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #29 shopware.php(101): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #30 {main}_

 

Was ist zu tun?  Vielen Dank für Hinweise!!

Hallo,

eine der Systemvoraussetzungen von Shopware ist ausdrücklich session.auto_start auf off! Was erwartest Du denn?

Ich hatte seit der Shop unter SW5 läuft in den Symsteminfos immer ein rotes Kreuz bei session.auto-start, der Shop lief einwandfrei. Das Problem wolle ich jetzt lösen und war der Annahme es müsste aktiviert werden, daher der Versuch mit ON. Erstaunlicherweise ist das rote Kreuz in den Symstenifos nach diesem Versuch nicht mehr vorhanden.

Hat sich damit wohl erledigt.

Danke