# Produkteexporte zerbrochen nach update auf 5.2.17

**URL:** <https://forum.shopware.com/t/produkteexporte-zerbrochen-nach-update-auf-5-2-17/43655>\
**Category:** Administration\
**Created:** [13. Februar 2017 um 12:05 UTC](https://forum.shopware.com/t/produkteexporte-zerbrochen-nach-update-auf-5-2-17/43655 "2017-02-13T12:05:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kai23](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@Kai23](https://forum.shopware.com/u/Kai23)\
**Post date:** [13. Februar 2017 um 12:05 UTC](https://forum.shopware.com/t/produkteexporte-zerbrochen-nach-update-auf-5-2-17/43655/1 "2017-02-13T12:05:45Z")

</div>

Nach dem Update auf 5.2.17 schlagen Produktexporte fehl.

```
You must call Zend_Session::setId() before any output has been sent to the browser; output started in /var/www/vhosts/shopware/docroot/engine/Shopware/Core/sExport.php/1056 in engine/Library/Zend/Session.php on line 713

#0 engine/Library/Zend/Session.php(448): Zend_Session::setId('31187a7b64269ed...') 
#1 engine/Shopware/Components/DependencyInjection/Bridge/Session.php(103): Zend_Session::start(Array) 
#2 var/cache/production_201702101619/proxies/ShopwareProduction79088d00681c97d288a87f7aef72cedf3fcab3e2ProjectContainer.php(761): Shopware\Components\DependencyInjection\Bridge\Session->createSession(Object(ShopwareProduction79088d00681c97d288a87f7aef72cedf3fcab3e2ProjectContainer), Object(Shopware\Components\Session\PdoSessionHandler)) 
#3 vendor/symfony/dependency-injection/Container.php(314): ShopwareProduction79088d00681c97d288a87f7aef72cedf3fcab3e2ProjectContainer->getSessionService() 
#4 engine/Shopware/Components/DependencyInjection/Container.php(182): Symfony\Component\DependencyInjection\Container->get('session', 1) 
#5 engine/Shopware/Components/DependencyInjection/Container.php(138): Shopware\Components\DependencyInjection\Container->doLoad('session', 1) 
#6 engine/Shopware/Bundle/StoreFrontBundle/Service/Core/ContextService.php(266): Shopware\Components\DependencyInjection\Container->get('session') 
#7 engine/Shopware/Bundle/StoreFrontBundle/Service/Core/ContextService.php(137): Shopware\Bundle\StoreFrontBundle\Service\Core\ContextService->getStoreFrontCurrentCustomerGroupKey() 
#8 engine/Shopware/Bundle/StoreFrontBundle/Service/Core/ContextService.php(123): Shopware\Bundle\StoreFrontBundle\Service\Core\ContextService->initializeShopContext() 
#9 engine/Shopware/Core/sExport.php(1058): Shopware\Bundle\StoreFrontBundle\Service\Core\ContextService->getShopContext() 
#10 engine/Shopware/Controllers/Backend/Export.php(118): sExport->executeExport(Resource id 
#597) 
#11 engine/Shopware/Controllers/Backend/Export.php(69): Shopware_Controllers_Backend_Export->generateExport('php://output') 
#12 engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Backend_Export->indexAction() 
#13 engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('indexAction') 
#14 engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) 
#15 engine/Shopware/Kernel.php(180): Enlight_Controller_Front->dispatch() 
#16 vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) 
#17 engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) 
#18 vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) 
#19 engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) 
#20 shopware.php(117): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) 
#21 {main}

```

&nbsp;

---

<div class="post-metadata">

**Author:** ![senor\_dingdong](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@senor\_dingdong](https://forum.shopware.com/u/senor_dingdong)\
**Post date:** [13. Februar 2017 um 12:08 UTC](https://forum.shopware.com/t/produkteexporte-zerbrochen-nach-update-auf-5-2-17/43655/2 "2017-02-13T12:08:57Z")

</div>

kann ich bestätigen, gleiche fehlermeldung

---

<div class="post-metadata">

**Author:** ![Marcel\_S](https://avatars.discourse-cdn.com/v4/letter/m/cc9497/32.png) [@Marcel\_S](https://forum.shopware.com/u/Marcel_S)\
**Post date:** [13. Februar 2017 um 12:55 UTC](https://forum.shopware.com/t/produkteexporte-zerbrochen-nach-update-auf-5-2-17/43655/3 "2017-02-13T12:55:59Z")

</div>

Hi,

danke für das Feedback. Wir schauen gerade mal drauf.  
&nbsp;

VG,

Marcel

---

<div class="post-metadata">

**Author:** ![Marcel\_S](https://avatars.discourse-cdn.com/v4/letter/m/cc9497/32.png) [@Marcel\_S](https://forum.shopware.com/u/Marcel_S)\
**Post date:** [13. Februar 2017 um 13:49 UTC](https://forum.shopware.com/t/produkteexporte-zerbrochen-nach-update-auf-5-2-17/43655/4 "2017-02-13T13:49:17Z")

</div>

Hi,

wir konnten das Verhalten nicht immer zuverlässig reproduzieren.&nbsp;  
Wir haben aber mal einen Fix erarbeitet der das Problem lösen sollte:

> <https://github.com/shopware/shopware/commit/833f61f512c0c4a4b25588efa035ea0aaeec0c93>

Vielleicht könnt Ihr den mal bei euch einspielen und uns Feedback geben?

Würden dann eine Patch Version nachschieben.

VG,

Marcel

---

<div class="post-metadata">

**Author:** ![senor\_dingdong](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@senor\_dingdong](https://forum.shopware.com/u/senor_dingdong)\
**Post date:** [13. Februar 2017 um 13:51 UTC](https://forum.shopware.com/t/produkteexporte-zerbrochen-nach-update-auf-5-2-17/43655/5 "2017-02-13T13:51:34Z")

</div>

fix funktioniert bei uns!

---

<div class="post-metadata">

**Author:** ![Kai23](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@Kai23](https://forum.shopware.com/u/Kai23)\
**Post date:** [13. Februar 2017 um 14:23 UTC](https://forum.shopware.com/t/produkteexporte-zerbrochen-nach-update-auf-5-2-17/43655/6 "2017-02-13T14:23:13Z")

</div>

kann ich bestätgiten, danke für den schnellen fix!!!&nbsp;&nbsp;:)

---

<div class="post-metadata">

**Author:** ![JvB](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@JvB](https://forum.shopware.com/u/JvB)\
**Post date:** [14. Februar 2017 um 20:47 UTC](https://forum.shopware.com/t/produkteexporte-zerbrochen-nach-update-auf-5-2-17/43655/7 "2017-02-14T20:47:30Z")

</div>

Kunde hatte seit gestern auch das Problem, vermutlich wurde hier ein Update durchgeführt.  
Mit dem Code von Marcel funktioniert es wieder.

Wäre super den in den Core aufzunehmen.

---

<div class="post-metadata">

**Author:** ![Kai23](https://avatars.discourse-cdn.com/v4/letter/k/c89c15/32.png) [@Kai23](https://forum.shopware.com/u/Kai23)\
**Post date:** [14. Februar 2017 um 20:50 UTC](https://forum.shopware.com/t/produkteexporte-zerbrochen-nach-update-auf-5-2-17/43655/8 "2017-02-14T20:50:48Z")

</div>

Der Patch&nbsp;wurde heute mit 5.2.18 ausgerollt.
