# Fehlermedlung beim Abschluss der Bestellung per Vorkasse.

**URL:** <https://forum.shopware.com/t/fehlermedlung-beim-abschluss-der-bestellung-per-vorkasse/5216>\
**Category:** Shopware 3.5\
**Tags:** installation--gettin\
**Created:** [22. November 2011 um 22:44 UTC](https://forum.shopware.com/t/fehlermedlung-beim-abschluss-der-bestellung-per-vorkasse/5216 "2011-11-22T22:44:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![spreisl](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@spreisl](https://forum.shopware.com/u/spreisl)\
**Post date:** [22. November 2011 um 22:44 UTC](https://forum.shopware.com/t/fehlermedlung-beim-abschluss-der-bestellung-per-vorkasse/5216/1 "2011-11-22T22:44:21Z")

</div>

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}

---

<div class="post-metadata">

**Author:** ![spreisl](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@spreisl](https://forum.shopware.com/u/spreisl)\
**Post date:** [22. November 2011 um 22:51 UTC](https://forum.shopware.com/t/fehlermedlung-beim-abschluss-der-bestellung-per-vorkasse/5216/2 "2011-11-22T22:51:25Z")

</div>

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

---

<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:** [22. November 2011 um 23:04 UTC](https://forum.shopware.com/t/fehlermedlung-beim-abschluss-der-bestellung-per-vorkasse/5216/3 "2011-11-22T23:04:25Z")

</div>

Such mal hier nach dem Begriff magic\_quotes

---

<div class="post-metadata">

**Author:** ![spreisl](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@spreisl](https://forum.shopware.com/u/spreisl)\
**Post date:** [22. November 2011 um 23:13 UTC](https://forum.shopware.com/t/fehlermedlung-beim-abschluss-der-bestellung-per-vorkasse/5216/4 "2011-11-22T23:13:50Z")

</div>

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

---

<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:** [23. November 2011 um 10:22 UTC](https://forum.shopware.com/t/fehlermedlung-beim-abschluss-der-bestellung-per-vorkasse/5216/5 "2011-11-23T10:22:42Z")

</div>

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 😉
