Fehlermedlung beim Abschluss der Bestellung per Vorkasse.

Bekomme seit heute diese Fehlermeldung. was könnte das sein? Die Bestellungen erscheinen aber trotzdem im Backend Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. Syntax Error in template “string:” on line 48 " {if additional.payment.name == \"debit\"} " - Unexpected "\", expected one of: "{" , "" , “identifier” , LDELIF , LDELFOR , LDELFOREACH , “closing tag” , INTEGER , “+” , “-” , “(” , “(!,not)” , TYPECAST , HEX , “.” , SINGLEQUOTESTRING , “#” , “[” , “”" in Vendor/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 404 Stack trace: #0 Vendor/Smarty/libs/sysplugins/smarty_internal_templateparser.php(2699): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 Vendor/Smarty/libs/sysplugins/smarty_internal_templateparser.php(2764): Smarty_Internal_Templateparser->yy_syntax_error(10, ‘’) #2 Vendor/Smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(10, ‘’) #3 Vendor/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(83): Smarty_Internal_SmartyTemplateCompiler->doCompile(’

compileTemplate(Object(Enlight_Template_Template)) #5 Vendor/Smarty/libs/sysplugins/smarty_internal_template.php(426): Smarty_Internal_Template->compileTemplateSource() #6 Enlight/Template/Template.php(46): Smarty_Internal_Template->renderTemplate() #7 Vendor/Smarty/libs/sysplugins/smarty_internal_template.php(568): Enlight_Template_Template->renderTemplate() #8 Vendor/Smarty/libs/Smarty.class.php(328): Smarty_Internal_Template->getRenderedTemplate() #9 engine/core/class/sOrder.php(892): Smarty->fetch('string:
sendMail(Array) #11 Shopware/Controllers/Frontend/Checkout.php(520): sOrder->sSaveOrder() #12 Shopware/Controllers/Frontend/Checkout.php(197): Shopware_Controllers_Frontend_Checkout->saveOrder() #13 Enlight/Controller/Action.php(70): Shopware_Controllers_Frontend_Checkout->finishAction() #14 Enlight/Controller/Dispatcher/DispatcherDefault.php(329): Enlight_Controller_Action->dispatch(‘finishAction’) #15 Enlight/Controller/Front.php(99): Enlight_Controller_Dispatcher_DispatcherDefault->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #16 Shopware/Bootstrap.php(33): Enlight_Controller_Front->dispatch() #17 Enlight/Application.php(86): Shopware_Bootstrap->run() #18 shopware.php(6): Enlight_Application->run() #19 {main}

Diese kommt über Secupay: Fatal error: Uncaught exception ‘SmartyCompilerException’ with message ‘Syntax Error in template “string:” on line 48 " {if additional.payment.name == \"debit\"} " - Unexpected "\", expected one of: "{" , "" , “identifier” , LDELIF , LDELFOR , LDELFOREACH , “closing tag” , INTEGER , “+” , “-” , “(” , “(!,not)” , TYPECAST , HEX , “.” , SINGLEQUOTESTRING , “#” , “[” , “”"’ in /www/htdocs/w00d8d8a/maxcube/shop/engine/Enlight/Vendor/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php:404 Stack trace: #0 /www/htdocs/w00d8d8a/maxcube/shop/engine/Enlight/Vendor/Smarty/libs/sysplugins/smarty_internal_templateparser.php(2699): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /www/htdocs/w00d8d8a/maxcube/shop/engine/Enlight/Vendor/Smarty/libs/sysplugins/smarty_internal_templateparser.php(2764): Smarty_Internal_Templateparser->yy_syntax_error(10, ‘’) #2 /www/htdocs/w00d8d8a/maxcube/shop/engine/Enlight/Vendor/Smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php(51): Smarty_I in /www/htdocs/w00d8d8a/maxcube/shop/engine/Enlight/Vendor/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 404

Such mal hier nach dem Begriff magic_quotes

so sieht aktuell meine htaccess aus:
RewriteEngine on

#RewriteBase /shopware/

RewriteRule shopware.dll shopware.php
RewriteRule files/documents/.* engine [NC,L]
RewriteRule application.yaml engine [NC,L]
RewriteRule images/ayww/(.*) images/banner/1 RewriteRule sitemap.xml(.*) shopware.php?controller=SitemapXml RewriteRule templates/.*(css|js) engine/backend/php/sCacheTemplate.php?file=0 [NC,L] RewriteRule engine/core/php/sAjaxSearch.php engine/backend/php/sAjaxSearch.php [NC,L]
RewriteRule engine/core/php/campaigns.php$ engine/backend/php/campaigns.php [NC,L]

RewriteCond %{REQUEST_URI} !(engine/|images/|files/|templates/|.js$|.css$|.jpg$|.png$)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ shopware.php [PT,L,QSA]
DirectoryIndex index.php DirectoryIndex shopware.php
Deny from all
Options -Indexes # Options -MultiViews php_flag magic_quotes_gpc off # php_value memory_limit 128M # php_value max_execution_time 18000 # php_flag session.auto_start off # php_flag suhosin.session.cryptua off # php_flag zend.ze1_compatibility_mode Off # AddType x-mapp-php5 .php # AddHandler x-mapp-php5 .php

Deine eMail-Vorlagen sind aber defekt. magic_quotes ist oder war aktiv! Wenn man dann im Backend arbeitet werden die Texte und Vorlagen zerstört und mit Backslashes versehen. Am besten die Vorlagen aus dem Wiki kopieren und erneut versuchen. Das Thema gab es hier schon viele Male. Einfach man die Suche im Forum nutzen :wink: