# ForceCompile in config.php führt zu fehlerhaften Bildpfad

**URL:** <https://forum.shopware.com/t/forcecompile-in-config-php-fuhrt-zu-fehlerhaften-bildpfad/31044>\
**Category:** Programmierung\
**Created:** [1. Oktober 2015 um 17:08 UTC](https://forum.shopware.com/t/forcecompile-in-config-php-fuhrt-zu-fehlerhaften-bildpfad/31044 "2015-10-01T17:08:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![petiz](https://avatars.discourse-cdn.com/v4/letter/p/ac91a4/32.png) [@petiz](https://forum.shopware.com/u/petiz)\
**Post date:** [1. Oktober 2015 um 17:08 UTC](https://forum.shopware.com/t/forcecompile-in-config-php-fuhrt-zu-fehlerhaften-bildpfad/31044/1 "2015-10-01T17:08:08Z")

</div>

Hi zusammen, ich habe ein merkwürdiges Problem. Wenn ich in die config.php auf einer Testumgebung folgende Anweisung hinzufüge: // do not use template-Cache ‘template’ =\> array( ‘forceCompile’ =\> true, ), … dann passiert es, dass Shopware versucht das Herstellerbild auf der Produktdetailseite nichtmehr mit absoluten, sondern mit relativen Pfad einzubinden. (Siehe diesen Screenshot) [https://cloud.petiz.de/f/5886ee5821/?raw=1](https://cloud.petiz.de/f/5886ee5821/?raw=1) Ein Leeren des Caches im Backend löst das Problem kurfristig, beim erneuten Laden ist der Bilderpfad aber wieder falsch. Hat jemand eine Ahnung woran das liegen könnte? Danke & Grüße

---

<div class="post-metadata">

**Author:** ![petiz](https://avatars.discourse-cdn.com/v4/letter/p/ac91a4/32.png) [@petiz](https://forum.shopware.com/u/petiz)\
**Post date:** [5. Oktober 2015 um 10:19 UTC](https://forum.shopware.com/t/forcecompile-in-config-php-fuhrt-zu-fehlerhaften-bildpfad/31044/2 "2015-10-05T10:19:10Z")

</div>

\*push\* vielleicht hat irgendein Entwickler ja eine Ahnung? :shopware:
