Shopware 4 Templates in Shopware 5 nutzen

Liebes Forum :slight_smile: :slight_smile: Man kann ja die Shopware 4 Templates noch verwenden, wenn man einen Templateordner anlegt. https://devdocs.shopware.com/designers- … hopware-5/ Das habe ich getestet. shopware 5 mit ein paar eingepflegten Artikeln, sonst keine Änderungen. Die Original-Templates von shopware 4 einkopiert und ein altes Template ausgewählt. Es kommt aber folgende Fehlermeldung (home-Seite): [quote]Fatal error: Uncaught exception ‘SmartyException’ with message ‘Unable to load template snippet ‘frontend/error/index.tpl’’ in F:\xampp\htdocs\shopware5RC1\engine\Library\Smarty\sysplugins\smarty_internal_templatebase.php:127 Stack trace: #0 F:\xampp\htdocs\shopware5RC1\engine\Library\Enlight\View\Default.php(274): Smarty_Internal_TemplateBase->fetch() #1 F:\xampp\htdocs\shopware5RC1\engine\Library\Enlight\Controller\Plugins\ViewRenderer\Bootstrap.php(216): Enlight_View_Default->render(Object(Enlight_Template_Default)) #2 F:\xampp\htdocs\shopware5RC1\engine\Library\Enlight\Controller\Plugins\ViewRenderer\Bootstrap.php(242): Enlight_Controller_Plugins_ViewRenderer_Bootstrap->renderTemplate(Object(Enlight_Template_Default)) #3 F:\xampp\htdocs\shopware5RC1\engine\Library\Enlight\Controller\Plugins\ViewRenderer\Bootstrap.php(136): Enlight_Controller_Plugins_ViewRenderer_Bootstrap->render() #4 [internal function]: Enlight_Controller_Plugins_ViewRenderer_Bootstrap->onPostDispatch(Object(Enlight_Controller_ActionEventArgs)) #5 F in F:\xampp\htdocs\shopware5RC1\engine\Library\Smarty\sysplugins\smarty_internal_templatebase.php on line 127 503 Service Unavailable[/quote] :frowning: Was mache ich da falsch? Liebe Grüße Kerstin

läuft lokal über einen Windows-Rechner? Das Problem habe ich z. B. :frowning: Kann vll. daran liegen. Installiere SW 5 mal auf einem Linux-System, vll läufts dann.

danke :slight_smile: Stimmt, ist Windows. Aber das ist ja nun einmal meine Testumgebung und da will ich es gerne zum Laufen bringen. Wenn jemand sagen kann, dass es da definitiv nicht geht, ok. Diese Info wäre auch sehr hilfreich. Oder eben, wie es geht. Wesentlich hilfreicher :slight_smile:

Um da mal die devdocs für die Systemanforderung zu kommentieren Linux-based operating system with Apache 2.x web server PHP 5.4 or higher (PHP 5.5 or higher recommended)\* MySQL 5.5 or higher Possibility to set up cron jobs Wird mit Windows-Hosting vielleicht schwerer bei euch? Schöne Grüße, Niklas

Liebes Forum :slight_smile: :slight_smile: ich habe es jetzt einmal auf einem richtigen shopware-server getestet (und der ist Linux). Und es kommt im Prinzip die gleiche Fehlermeldung. Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template snippet 'frontend/error/index.tpl'' in /var/www/vhosts/domain.de/httpdocs/xyz/engine/Library/Smarty/sysplugins/smarty\_internal\_templatebase.php:127 Stack trace: #0 ... Es handelt sich um ein frisches shopware 5 und einen unveränderten Templatesatz von shopware 4.3. Dann habe ich einfach in Themes ein Template ausgewählt. Muss man noch etwas dabei bedenken / machen ? Liebe Grüße Kerstin

1 „Gefällt mir“

Zitat aus den devdocs: [quote] Get your Shopware 4 template working in Shopware 5 Using your Shopware 4 template in Shopware 5 is quite easy. We provide a download link in Shopware Community Center which contains the deprecated templates directory. Place the downloaded templates folder in the root directory of your Shopware 5 installation. [/quote] Eventuell haben die Jungs hier noch etwas geändert, so dass wir auf den Download warten müssen. Viele Grüße

Danke für die Antwort. Hast du es mal getestet, klappt es denn bei dir auch nicht? Wielange dauert so etwas denn erfahrungsgemäss? Ich möchte damit mal loslegen :slight_smile: