# Warenkorb nicht erreichbar

**URL:** <https://forum.shopware.com/t/warenkorb-nicht-erreichbar/22305>\
**Category:** Shopware 3.5\
**Tags:** general\
**Created:** [8. September 2014 um 10:12 UTC](https://forum.shopware.com/t/warenkorb-nicht-erreichbar/22305 "2014-09-08T10:12:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob\_Fried](https://avatars.discourse-cdn.com/v4/letter/b/848f3c/32.png) [@Bob\_Fried](https://forum.shopware.com/u/Bob_Fried)\
**Post date:** [8. September 2014 um 10:12 UTC](https://forum.shopware.com/t/warenkorb-nicht-erreichbar/22305/1 "2014-09-08T10:12:43Z")

</div>

Hallo veehrte Community, wir bieten auf [shop.usedom.de](http://shop.usedom.de) Flugtickets an. Wählt man ein Flugticket aus und möchte dann in den Warenkorb so passiert nichts.Nachfolgend der Fehler. [color=red] Home Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘FROM s\_order\_basket b LEFT JOIN s\_articles a ON b.articleID=a.id AND b’ at line 16 in Zend/Db/Statement/Pdo.php on line 234 Stack trace: #0 Zend/Db/Statement.php(300): Zend\_Db\_Statement\_Pdo-\>\_execute(Array) #1 Zend/Db/Adapter/Abstract.php(479): Zend\_Db\_Statement-\>execute(Array) #2 Zend/Db/Adapter/Pdo/Abstract.php(238): Zend\_Db\_Adapter\_Abstract-\>query(’???SELECT???..’, Array) #3 Enlight/Components/Db/Adapter/Pdo/Mysql.php(75): Zend\_Db\_Adapter\_Pdo\_Abstract-\>query(’???SELECT???..’, Array) #4 Zend/Db/Adapter/Abstract.php(755): Enlight\_Components\_Db\_Adapter\_Pdo\_Mysql-\>query(’???SELECT???..’, Array) #5 Enlight/Components/Adodb.php(259): Zend\_Db\_Adapter\_Abstract-\>fetchRow(’???SELECT???..’, Array) #6 engine/core/class/sAdmin.php(3368): Enlight\_Components\_Adodb-\>GetRow(’???SELECT???..’, Array) #7 engine/core/class/sAdmin.php(3455): sAdmin-\>sGetDispatchBasket(38, NULL, NULL) #8 Shopware/Controllers/Frontend/Checkout.php(1031): sAdmin-\>sGetPremiumDispatches(38, NULL, NULL) #9 Shopware/Controllers/Frontend/Checkout.php(107): Shopware\_Controllers\_Frontend\_Checkout-\>getSelectedDispatch() #10 Enlight/Controller/Action.php(148): Shopware\_Controllers\_Frontend\_Checkout-\>cartAction() #11 Enlight/Controller/Dispatcher/Default.php(521): Enlight\_Controller\_Action-\>dispatch(‘cartAction’) #12 Enlight/Controller/Front.php(214): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #13 Shopware/Components/HttpCache/HttpKernel.php(79): Enlight\_Controller\_Front-\>dispatch() #14 Symfony/Component/HttpKernel/HttpCache/HttpCache.php(434): Shopware\Components\HttpCache\HttpKernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 Shopware/Components/HttpCache/AppCache.php(242): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #16 Symfony/Component/HttpKernel/HttpCache/HttpCache.php(403): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #17 Symfony/Component/HttpKernel/HttpCache/HttpCache.php(303): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>fetch(Object(Symfony\Component\HttpFoundation\Request), true) #18 Shopware/Components/HttpCache/AppCache.php(162): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>lookup(Object(Symfony\Component\HttpFoundation\Request), true) #19 Symfony/Component/HttpKernel/HttpCache/HttpCache.php(192): Shopware\Components\HttpCache\AppCache-\>lookup(Object(Symfony\Component\HttpFoundation\Request), true) #20 Shopware/Components/HttpCache/AppCache.php(97): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 Shopware/Bootstrap.php(70): Shopware\Components\HttpCache\AppCache-\>handle(Object(Symfony\Component\HttpFoundation\Request)) #22 Enlight/Application.php(192): Shopware\_Bootstrap-\>run() #23 shopware.php(83): Enlight\_Application-\>run() #24 {main} [/color] Kann mir jemand helfen damit ich den Warenkorb wieder erreichen kann? Danke!

---

<div class="post-metadata">

**Author:** ![Patrick\_Stahl](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/patrick_stahl/32/7679_2.png) [@Patrick\_Stahl](https://forum.shopware.com/u/Patrick_Stahl)\
**Post date:** [8. September 2014 um 11:22 UTC](https://forum.shopware.com/t/warenkorb-nicht-erreichbar/22305/2 "2014-09-08T11:22:22Z")

</div>

Hallo Bob Fried, da hast du wohl ein falsches SQL-Statement im Backend eingetragen. Schau doch mal hier nach: Im Backend -\> Einstellungen -\> Grundeinstellungen -\> Storefront -\> Versandkosten-Modul. Das Feld [Erweiterte SQL-Abfrage](http://wiki.shopware.de/%5C_detail%5C_672.html#erweiterte%5C_SQL-Abfrage%5C_in%5C_den%5C_Grundeinstellungen) scheint bei dir einen defekten Wert zu beinhalten. Am Besten notierst du dir kurz, was du dort eingetragen hast und setzt dort dann einmal den Standard-Wert wieder ein: `MAX(a.topseller) as has\_topseller, MAX(at.attr3) as has\_comment, MAX(b.esdarticle) as has\_esd` Dann dürfte dein Warenkorb wieder funktionieren. Viel Erfolg! Gruß, Patrick :shopware:
