# fehler nach bestellung absendung

**URL:** <https://forum.shopware.com/t/fehler-nach-bestellung-absendung/6750>\
**Category:** Shopware 3.5\
**Tags:** other\
**Created:** [7. April 2012 um 19:53 UTC](https://forum.shopware.com/t/fehler-nach-bestellung-absendung/6750 "2012-04-07T19:53:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrefecher](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@andrefecher](https://forum.shopware.com/u/andrefecher)\
**Post date:** [7. April 2012 um 19:53 UTC](https://forum.shopware.com/t/fehler-nach-bestellung-absendung/6750/1 "2012-04-07T19:53:58Z")

</div>

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:** ![waldicom](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/waldicom/32/12881_2.png) [@waldicom](https://forum.shopware.com/u/waldicom)\
**Post date:** [7. April 2012 um 21:25 UTC](https://forum.shopware.com/t/fehler-nach-bestellung-absendung/6750/2 "2012-04-07T21:25:41Z")

</div>

Wie schon in der Fehlermeldung steht, ist das ein Syntaxproblem. Versuch die o.g. Zeile so zu ändern: `{if $additional.payment.name == "debit"}` Wenn es nicht gehen sollte, kann man auch mit Apostrophen probieren. Also `{if $additional.payment.name == 'debit'}`

---

<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:** [8. April 2012 um 12:23 UTC](https://forum.shopware.com/t/fehler-nach-bestellung-absendung/6750/3 "2012-04-08T12:23:42Z")

</div>

Hallo, @andrefecher: In deinem Post ist keine Frage?! Vermutlich meinst du aber das magic\_quotes Problem, siehe z.B. hier: [administration-f11/checkout-widerrufsrecht-fullen-textbaustein-t6445.html#p33718](http://forum.shopware.de/administration-f11/checkout-widerrufsrecht-fullen-textbaustein-t6445.html#p33718) oder [post34433.html#p34433](http://forum.shopware.de/post34433.html#p34433) oder [post25602.html](http://forum.shopware.de/post25602.html) Viele Informationen findest du einfach über die Suche des Forums, wenn du einen Teil der Meldung eingibst. Beispielsweise: $additional.payment.name
