PHP Error nach 5.0.4 Update

Hi, wir haben von 5.0.1. auf 5.0.4 geupdatet. Seit dem Update haben wir einen PHP Error 2015/10/13 15:32:40 [error] 30270#0: *36554 FastCGI sent in stderr: „PHP message: PHP Fatal error: Uncaught exception ‚Zend_Session_Exception‘ with message ‚Zend_Session is currently marked as read-only.‘ in /www/httpd/www.homeliving.de/html/engine/Library/Zend/Session/Abstract.php:112 Stack trace: #0 /www/httpd/www.homeliving.de/html/engine/Library/Zend/Session/Namespace.php(414): Zend_Session_Abstract::_namespaceUnset(‚Shopware‘, ‚sUserMail‘) #1 /www/httpd/www.homeliving.de/html/engine/Library/Enlight/Components/Session/Namespace.php(54): Zend_Session_Namespace->__unset(‚sUserMail‘) #2 /www/httpd/www.homeliving.de/html/engine/Shopware/Core/sAdmin.php(1372): Enlight_Components_Session_Namespace->offsetUnset(‚sUserMail‘) #3 /www/httpd/www.homeliving.de/html/engine/Shopware/Plugins/Community/Frontend/StcomTemplateDashone/Controllers/Widgets/StcomEasyLogin.php(30): sAdmin->sCheckUser() #4 /www/httpd/www.homeliving.de/html/engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Widgets_StcomEasyLogin->showLoginWindowAction() #5 /www/httpd/www.homeliving.de/ht“ while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: www.homeliving.de, request: „GET /aussenbeleuchtung?p=1&f=1759%7C1780%7C1779%7C1762%7C1769%7C20442 HTTP/1.1“, upstream: „fastcgi://unix:/var/run/php5-fpm.sock:“, host: „www.homeliving.de“ hat jemand eine idee woran das liegen kann bzw. wie es zu beheben ist? Gruss Alex

Hallo Alex,

gab es für dieses Problem mal eine Lösung?

 

Grüsse

 

Elephant

„‚Zend_Session_Exception‘ with message ‚Zend_Session is currently marked as read-only.‘“

Ein Kollege hat geprüft und kam mit der Lösung auf, dass sCheckUser nicht zuverlässig ist bei der Abfrage, ob der Nutzer eingeloggt ist oder nicht.

im Beispiel des Posters müsste wohl in StcomTemplateDashone/Controllers/Widgets/StcomEasyLogin.php anders abgefragt werden, zb mit

if(Shopware()->System()->_SESSION[‚sUserId‘])  { … }

siehe Diskussion in https://forum.shopware.com/discussion/14725/plugins-userlogin-pruefen