# SmartyException nach Path Änderung

**URL:** <https://forum.shopware.com/t/smartyexception-nach-path-anderung/53106>\
**Category:** Administration\
**Created:** [25. Mai 2018 um 13:39 UTC](https://forum.shopware.com/t/smartyexception-nach-path-anderung/53106 "2018-05-25T13:39:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zloyvoin](https://avatars.discourse-cdn.com/v4/letter/z/74df32/32.png) [@Zloyvoin](https://forum.shopware.com/u/Zloyvoin)\
**Post date:** [25. Mai 2018 um 13:39 UTC](https://forum.shopware.com/t/smartyexception-nach-path-anderung/53106/1 "2018-05-25T13:39:50Z")

</div>

Ich habe heute auf einem Testserver den Shop Pfad geändert. Anfangs war der Shop unter&nbsp; localhost/shop&nbsp;&nbsp; installiert. Ich habe alles direct in das Root gelegt, sodass es über localhost erreichbar ist. Habe in der Datenbank „s\_core\_shops“ die Domain angepasst, in der .htaccess die rewrite Base auskommentiert und unter /var/cache/ den production Ordner gelöscht.

Ich komme an das Backend normal ran, bekomme aber einen Fehler im Frontend.  
Das sagen die Logs:

exception ‚SmartyException‘ with message ‚Unable to load template snippet ‚frontend/index-navigation.tpl‘ in ‚frontend/home/index.tpl|frontend/plugins/zopim/index.tpl|frontend/plugins/seo/index.tpl‘‘ in /engine/Library/Smarty/sysplugins/smarty\_internal\_templatebase.php:127 Stack trace:  
#0 /engine/Library/Smarty/sysplugins/smarty\_internal\_template.php(286): Smarty\_Internal\_TemplateBase-\>fetch(NULL, NULL, NULL, NULL, false, false, true)  
#1 /var/www/html/www.moebelundkonsorten.de/htdocs/web/var/cache/production\_201805041539/templates/frontend\_MuK\_de\_DE\_1/6e/5d/ff/6e5dff86d3f635c8d90ac7dec9391a381ebf0113.snippet.index.tpl.php(317): Smarty\_Internal\_Template-\>getSubTemplate(‚frontend/index-…‘, NULL, ‚frontend\_MuK\_de…‘, NULL, NULL, Array, 0)  
#2 /engine/Library/Smarty/sysplugins/smarty\_internal\_templatebase.php(180): content\_5b08109b9201e6\_69257423(Object(Enlight\_Template\_Default))  
#3 /engine/Library/Enlight/View/Default.php(300): Smarty\_Internal\_TemplateBase-\>fetch()  
#4 /engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(216): Enlight\_View\_Default-\>render(Object(Enlight\_Template\_Default))  
#5 /engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(242): Enlight\_Controller\_Plugins\_ViewRenderer\_Bootstrap-\>renderTemplate(Object(Enlight\_Template\_Default))  
#6 /engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(136): Enlight\_Controller\_Plugins\_ViewRenderer\_Bootstrap-\>render()  
#7

Bevor ich den Shop in das Document Root verschoben habe funktionierte zunächst alles. Zur Info - ich benutze ein custom theme und wenn ich das theme auf das standard theme wechsel, ist der Fehler weg. Mich wundert es nur, da mein Custom Theme unter dem Pfad&nbsp; localhost/shop zunächst ohne weiteres lief. Benötige bitte dringend Hilfe hier. Danke an jegliche Mühen!

---

<div class="post-metadata">

**Author:** ![Zloyvoin](https://avatars.discourse-cdn.com/v4/letter/z/74df32/32.png) [@Zloyvoin](https://forum.shopware.com/u/Zloyvoin)\
**Post date:** [25. Mai 2018 um 14:04 UTC](https://forum.shopware.com/t/smartyexception-nach-path-anderung/53106/2 "2018-05-25T14:04:48Z")

</div>

Okay hat sich bereits erledigt. Nach längerer Recherche habe ich festgestellt, das meine index.tpl eine Typofehler bei einem Block hatte. Warum auch immer. Search and Replace ist gefährlich !!!
