Fehlermeldung beim Aufruf Kundenbestellung

  • Im Admin unter "Bestellungen/Kunden" erzeugt der Button "Bestellungen" bei jedem Kunden diese Fehlermeldung:

    Zitat

    SQL Fehler [256] (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 'SELECT o.orders_id, o.customers_country, o.afterbuy_s' at line 1

    Query: select count(*) as total SELECT o.orders_id, o.customers_country, o.afterbuy_success, o.afterbuy_id, o.dhl_tracking_id, o.customers_name, o.customers_id, o.customers_cid, o.payment_method, o.date_purchased, o.last_modified, o.currency, o.currency_value, o.orders_status, s.orders_status_name, ot.text as order_total FROM orders o left join orders_total ot on (o.orders_id = ot.orders_id), orders_status s where o.customers_id = '17445' and (o.orders_status = s.orders_status_id and s.language_id = '1' and ot.class = 'ot_total') or (o.orders_status = '0' and ot.class = 'ot_total' and s.orders_status_id = '1' and s.language_id = '1')

    Beim Aufruf der Datei /shop/admin/orders.php , PHP 5.2.14 (Linux)

    Die Abfrage wurde abgebrochen, kontaktieren Sie den Administrator...