Hallo.
Ich habe tt_products gemäß des (Deutschen) Tutorials (im TER) installiert.
Meine Struktur ist die folgende:
- shop
-- Artikel (Sysordner)
-- Benutzerregistrierung
-- Kasse
-- usw (wie aus dem dt. Tutorial)
Im SysOrdner liegen die Produkte und Artikel (welche sich auf Produkte beziehen).
Wenn ich nun auf Shop gehe (im FE) dann bekomme ich die Produkte (nicht Artikel) angezeigt.
Wenn ich dann auf "mehr Informationen" klicke, tritt ein Fehler auf.
Wenn ich zurück zum Shop gehe, ist der Fehler weg und ich sehe wieder die Produkte. Wenn ich dann auf "zum Warenkorb hinzufügen" gehe, kommt der Fehler wieder.
Wenn ich dann wieder auf Shop klicke sehe ich keine PRodukte mehr und habe den Fehler auch (wo vorher noch keiner war)!
Hier die Debug Ausgabe:
Code:
Caller
t3lib_DB::exec_SELECTquery
ERROR 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 '.pid ,.category ,.price ,.price2 ,.tax ,.inStock ,.title ,.subtitle ,.image ,.no' at line 1
lastBuiltQuery
SELECT .uid ,.pid ,.category ,.price ,.price2 ,.tax ,.inStock ,.title ,.subtitle ,.image ,.note
FROM tt_products products LEFT OUTER JOIN tt_products_cat tt_products_cat ON tt_products_cat.uid=products.category
WHERE
products.pid IN (49) AND 1=1 AND (products.inStock <> 0) AND products.deleted=0 AND products.hidden=0 AND (products.starttime<=1173436606) AND (products.endtime=0 OR products.endtime>1173436606) AND products.fe_group IN (' ',0,-1)
ORDER BY tt_products_cat.sorting
LIMIT 51
debug_backtrace
require // include // TSpagegen::renderContent // tslib_cObj->cObjGet // tslib_cObj->cObjGetSingle // tslib_cObj->TEMPLATE // tslib_cObj->cObjGetSingle // tslib_cObj->CONTENT // tslib_cObj->cObjGetSingle // tslib_cObj->cObjGetSingle // tslib_cObj->CASEFUNC // tslib_cObj->cObjGetSingle // tslib_cObj->COBJ_ARRAY // tslib_cObj->cObjGet // tslib_cObj->cObjGetSingle // tslib_cObj->CASEFUNC // tslib_cObj->cObjGetSingle // tslib_cObj->CASEFUNC // tslib_cObj->cObjGetSingle // tslib_cObj->cObjGetSingle // tslib_cObj->USER // tslib_cObj->callUserFunction // call_user_method // tx_ttproducts_pi1->main // tx_ttproducts_pi1->doProcessing // tx_ttproducts_pi1->products_display // tx_ttproducts_list_view->printView // t3lib_DB->exec_SELECT_queryArray // t3lib_DB->exec_SELECTquery // t3lib_DB->debug
Woran kann das liegen?
Zu testzwecken existiert nur ein Testprodukt und ein Testartikel im SysOrdner.
MfG