# fehler nach update von 4.1 -&gt; 4.2: httpcache.cache\_dir

**URL:** <https://forum.shopware.com/t/fehler-nach-update-von-4-1-gt-4-2-httpcache-cache-dir/18628>\
**Category:** Shopware 3.5\
**Tags:** administration\
**Created:** [22. Februar 2014 um 19:24 UTC](https://forum.shopware.com/t/fehler-nach-update-von-4-1-gt-4-2-httpcache-cache-dir/18628 "2014-02-22T19:24:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![qwerkopf1](https://avatars.discourse-cdn.com/v4/letter/q/ccd318/32.png) [@qwerkopf1](https://forum.shopware.com/u/qwerkopf1)\
**Post date:** [22. Februar 2014 um 19:24 UTC](https://forum.shopware.com/t/fehler-nach-update-von-4-1-gt-4-2-httpcache-cache-dir/18628/1 "2014-02-22T19:24:04Z")

</div>

hi nach dem update von shoppware erhalte ich im backend beim klicken auf “caches/performance” folgenden fehler: Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. The parameter “shopware.httpcache.cache\_dir” must be defined. in cache/proxies/Shopware201402131706ProductionProjectContainer.php on line 338 Stack trace: #0 Shopware/Components/CacheManager.php(206): Shopware201402131706ProductionProjectContainer-\>getParameter(‘shopware.httpCa…’) #1 Shopware/Controllers/Backend/Cache.php(64): Shopware\Components\CacheManager-\>getHttpCacheInfo(Object(Enlight\_Controller\_Request\_RequestHttp)) #2 Enlight/Controller/Action.php(159): Shopware\_Controllers\_Backend\_Cache-\>getInfoAction() #3 Enlight/Controller/Dispatcher/Default.php(528): Enlight\_Controller\_Action-\>dispatch(‘getInfoAction’) #4 Enlight/Controller/Front.php(228): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #5 Shopware/Kernel.php(141): Enlight\_Controller\_Front-\>dispatch() #6 vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(473): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #7 Shopware/Components/HttpCache/AppCache.php(256): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #8 vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php(244): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #9 Shopware/Components/HttpCache/AppCache.php(102): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>pass(Object(Symfony\Component\HttpFoundation\Request), true) #10 shopware.php(91): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #11 {main}

---

<div class="post-metadata">

**Author:** ![comfone](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@comfone](https://forum.shopware.com/u/comfone)\
**Post date:** [13. März 2014 um 14:16 UTC](https://forum.shopware.com/t/fehler-nach-update-von-4-1-gt-4-2-httpcache-cache-dir/18628/2 "2014-03-13T14:16:04Z")

</div>

Den selben Fehler habe ich auch nach dem Update auf 4.2.1

---

<div class="post-metadata">

**Author:** ![aikanet](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@aikanet](https://forum.shopware.com/u/aikanet)\
**Post date:** [17. März 2014 um 13:26 UTC](https://forum.shopware.com/t/fehler-nach-update-von-4-1-gt-4-2-httpcache-cache-dir/18628/3 "2014-03-17T13:26:14Z")

</div>

Hallo zusammen, wir haben das gleiche Problem bei einem Kunden. Leider konnte der Hoster (Profihost) sich auch nicht erklären, was der Grund sein könnte, da andere Shops mit Shopware 4.2.1 problemlos dort laufen. Auch eine Umstellung von PHP 5.3 auf PHP 5.4 und das Leeren des Cache via SSH-Befehlt brachte keine Verbesserung. Falls jemand Hinweise zur Lösung des Problems hat, freue ich mich auf eine Nachricht. Grüße, Rafael Kutscha

---

<div class="post-metadata">

**Author:** ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)\
**Post date:** [17. März 2014 um 13:58 UTC](https://forum.shopware.com/t/fehler-nach-update-von-4-1-gt-4-2-httpcache-cache-dir/18628/4 "2014-03-17T13:58:32Z")

</div>

Hallo, habt ihr mal in die config.php von Shopware geschaut? Also habt ihr dort ggf. abweichende Definitonen für den Cache hinterlegt? Dort sollten eigentlich nur die Infos zur DB-Verbindung drin stehen Sebastian

---

<div class="post-metadata">

**Author:** ![qwerkopf1](https://avatars.discourse-cdn.com/v4/letter/q/ccd318/32.png) [@qwerkopf1](https://forum.shopware.com/u/qwerkopf1)\
**Post date:** [2. April 2014 um 19:34 UTC](https://forum.shopware.com/t/fehler-nach-update-von-4-1-gt-4-2-httpcache-cache-dir/18628/5 "2014-04-02T19:34:30Z")

</div>

so sieht meine config aus: ‚cache‘ =\> array( ‚backend‘ =\> ‚apc‘, ‚backendOptions‘ =\> array(), ‚frontendOptions‘ =\> array(), ), ‚model‘ =\> array( ‚cacheProvider‘ =\> ‚Apc‘ // supports Apc, Array, Wincache and Xcache ), ‚httpCache‘ =\> array( ‚enabled‘ =\> true, ‚debug‘ =\> false, ‚stale\_if\_error‘ =\> false )

---

<div class="post-metadata">

**Author:** ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)\
**Post date:** [2. April 2014 um 21:00 UTC](https://forum.shopware.com/t/fehler-nach-update-von-4-1-gt-4-2-httpcache-cache-dir/18628/6 "2014-04-02T21:00:23Z")

</div>

Hallo, nimm due Einträge dort mal raus Der Http Cache wird über das backend optional aktiviert und daher darf das nicht über die config geschehen Sebastian

---

<div class="post-metadata">

**Author:** ![qwerkopf1](https://avatars.discourse-cdn.com/v4/letter/q/ccd318/32.png) [@qwerkopf1](https://forum.shopware.com/u/qwerkopf1)\
**Post date:** [2. April 2014 um 22:22 UTC](https://forum.shopware.com/t/fehler-nach-update-von-4-1-gt-4-2-httpcache-cache-dir/18628/7 "2014-04-02T22:22:37Z")

</div>

hat geklaptt! danke für den hinweis!
