#1 (permalink)  
Alt 13.11.2007, 15:25
Benutzer
 
Registriert seit: 18.10.2007
Beiträge: 83
Standard Product info SQL Fehler

hey ho community ...

ich kriege nen hals :/

ich habe eben mein anderes problem fertig bekommen und nun wunder ich mich sobald ich ein produkt aufrufe kommt ein SQL Fehler

Folgende Fehlermeldung:

1064 - Fehler in der Syntax bei '6' in Zeile 22.

select p.products_fsk18, p.products_id, p.products_price, p.products_tax_class_id, p.products_image, pd.products_name, p.products_vpe, p.products_vpe_status, p.products_vpe_value, pd.products_short_description FROM orders_products opa, orders_products opb, orders o, products p, products_description pd where opa.products_id = '1811' and opa.orders_id = opb.orders_id and opb.products_id != '1811' and opb.products_id = p.products_id and opb.orders_id = o.orders_id and p.products_status = '1' and pd.language_id = '2' and opb.products_id = pd.products_id group by p.products_id order by o.date_purchased desc 6

[XT SQL Error]


Die Datei ist glaube ich die product.php

Auszug aus der SQL Abfrage
PHP-Code:
    $orders_query "select
                                                                                          p.products_fsk18,
                                                                                          p.products_id,
                                                                                          p.products_price,
                                                                                          p.products_tax_class_id,
                                                                                          p.products_image,
                                                                                          pd.products_name,
                                                                                          p.products_vpe,
                                                                                             p.products_vpe_status,
                                                                                             p.products_vpe_value,
                                                                                          pd.products_short_description FROM "
.TABLE_ORDERS_PRODUCTS." opa, ".TABLE_ORDERS_PRODUCTS." opb, ".TABLE_ORDERS." o, ".TABLE_PRODUCTS." p, ".TABLE_PRODUCTS_DESCRIPTION." pd
                                                                                          where opa.products_id = '"
.$this->pID."'
                                                                                          and opa.orders_id = opb.orders_id
                                                                                          and opb.products_id != '"
.$this->pID."'
                                                                                          and opb.products_id = p.products_id
                                                                                          and opb.orders_id = o.orders_id
                                                                                          and p.products_status = '1'
                                                                                          and pd.language_id = '"
.(int) $_SESSION['languages_id']."'
                                                                                          and opb.products_id = pd.products_id
                                                                                          "
.$group_check."
                                                                                          "
.$fsk_lock."
                                                                                          group by p.products_id order by o.date_purchased desc "
.MAX_DISPLAY_ALSO_PURCHASED

hat jmd eine idee?

mfg
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 15.11.2007, 07:50
Benutzer
 
Registriert seit: 18.10.2007
Beiträge: 83
Standard

// EDIT:

Problem gelöst.

Habe die product.php einfach nochmal neu hochgeladen.

mfg

Geändert von philipp1988 (15.11.2007 um 09:34 Uhr)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
fehler, info, product, sql

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Fehler SQL file does not exist xtcommerce.sql jksworld Installation und Konfiguration 1 22.02.2007 13:28
Inkl. MwSt zzgl Versandkosten in Product Info Jeannie Admininterface 0 01.02.2007 13:09
SQL fehler advanced_search_result Leoric Installation und Konfiguration 0 30.10.2005 14:25
Fehler Sql Boulix Installation und Konfiguration 1 16.10.2003 20:41


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:15 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand