# Fehler nach Bestellvorgang

**URL:** <https://forum.shopware.com/t/fehler-nach-bestellvorgang/3644>\
**Category:** Shopware 3.5\
**Tags:** general\
**Created:** [25. Juli 2011 um 22:42 UTC](https://forum.shopware.com/t/fehler-nach-bestellvorgang/3644 "2011-07-25T22:42:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Weka271](https://avatars.discourse-cdn.com/v4/letter/w/c68b51/32.png) [@Weka271](https://forum.shopware.com/u/Weka271)\
**Post date:** [25. Juli 2011 um 22:42 UTC](https://forum.shopware.com/t/fehler-nach-bestellvorgang/3644/1 "2011-07-25T22:42:32Z")

</div>

Hallo, Könnte mir jemand von euch helfen? Und zwar nach jeder Bestellung die man aufgibt per Vorkasse usw. kommt dieser Fehler : 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(473): sOrder-\>sSaveOrder() #12 Shopware/Controllers/Frontend/Checkout.php(164): 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} Die Bestellung kommt jedoch trotzdem bei mir an. Ich weiß nicht was ich machen soll. MfG

---

<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:** [25. Juli 2011 um 23:05 UTC](https://forum.shopware.com/t/fehler-nach-bestellvorgang/3644/2 "2011-07-25T23:05:25Z")

</div>

Stichwort: magic\_quotes, falsche Systemvoraussetzung Such mal hier im Forum 😉 gibt es bereit etliche Male… [allgemeines-f2/fehlermeldung-bei-bestellabschluss-t2858.html](http://forum.shopware.de/allgemeines-f2/fehlermeldung-bei-bestellabschluss-t2858.html)

---

<div class="post-metadata">

**Author:** ![Weka271](https://avatars.discourse-cdn.com/v4/letter/w/c68b51/32.png) [@Weka271](https://forum.shopware.com/u/Weka271)\
**Post date:** [26. Juli 2011 um 12:43 UTC](https://forum.shopware.com/t/fehler-nach-bestellvorgang/3644/3 "2011-07-26T12:43:30Z")

</div>

Vielen dank für die Antwort. Wie kann ich die magic\_quotes deaktivieren oder entfernen? Da dies anscheinend immer wieder all es kaputt macht. Danke im vorraus MfG

---

<div class="post-metadata">

**Author:** ![eWeniger](https://avatars.discourse-cdn.com/v4/letter/e/9de053/32.png) [@eWeniger](https://forum.shopware.com/u/eWeniger)\
**Post date:** [26. Juli 2011 um 13:02 UTC](https://forum.shopware.com/t/fehler-nach-bestellvorgang/3644/4 "2011-07-26T13:02:20Z")

</div>

Hallo, ich habe das so gelöst: In die htaccess-Datei im Shoproot folgendes eintragen: php\_flag magic\_quotes\_gpc off

---

<div class="post-metadata">

**Author:** ![Weka271](https://avatars.discourse-cdn.com/v4/letter/w/c68b51/32.png) [@Weka271](https://forum.shopware.com/u/Weka271)\
**Post date:** [27. Juli 2011 um 01:59 UTC](https://forum.shopware.com/t/fehler-nach-bestellvorgang/3644/5 "2011-07-27T01:59:21Z")

</div>

Hallo, Habe ich gemacht jedoch kommt der Fehler noch immer! Ich weiß nicht was ich machen soll.

---

<div class="post-metadata">

**Author:** ![Stefan\_Hamann](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@Stefan\_Hamann](https://forum.shopware.com/u/Stefan_Hamann)\
**Post date:** [27. Juli 2011 um 06:33 UTC](https://forum.shopware.com/t/fehler-nach-bestellvorgang/3644/6 "2011-07-27T06:33:32Z")

</div>

Frag mal kurz bei deinem Provider an, der müsste das in 20 Sekunden deaktivieren können 😉
