|
|||
|
NAchdem ich die anderen Fehlermeldungen jetzt weg habe, kommt bei Aufruf einer Kategorie folgender Fehler:
1054 - Unknown column 'p.products_id' in 'on clause' select count(p.products_id) as total from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '2' and p2c.categories_id = '2' ORDER BY pd.products_name DESC [XT SQL Error] Der erscheint nur bei einer Kategorie, nicht im Katalog bei Artikeln, da funkt. alles! Auch eine Bestellung! Schon mal Danke Dieter |
|
||||
|
<div class='quotetop'>QUOTE(nfdieter @ Jun 26 2006, 03:57 PM) Quoted post</div><div class='quotemain'>
NAchdem ich die anderen Fehlermeldungen jetzt weg habe, kommt bei Aufruf einer Kategorie folgender Fehler: 1054 - Unknown column 'p.products_id' in 'on clause' select count(p.products_id) as total from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '2' and p2c.categories_id = '2' ORDER BY pd.products_name DESC [XT SQL Error] Der erscheint nur bei einer Kategorie, nicht im Katalog bei Artikeln, da funkt. alles! Auch eine Bestellung! Schon mal Danke Dieter [/b][/quote] und f?r newbies wie mich... ++ $products_new_query_raw = "select distinct p.products_id, <span style="color:#FFCC33">p.manufacturers_id,</span> p.products_fsk18, pd.products_name, pd.products_short_description, p.products_image, p.products_price, p.products_vpe, p.products_vpe_status, p.products_vpe_value, p.products_tax_class_id, p.products_date_added, m.manufacturers_name <span style="color:#FFCC33">from ((( ".TABLE_PRODUCTS_DESCRIPTION." pd, ".TABLE_PRODUCTS." p ) left join ".TABLE_MANUFACTURERS." m on p.manufacturers_id = m.manufacturers_id, ".TABLE_PRODUCTS_TO_CATEGORIES." p2c ) left join ".TABLE_SPECIALS." s on p.products_id = s.products_id ) where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id</span> ".$group_check." ".$fsk_lock." ".$days." order by p.products_date_added DESC "; ++ damit klappt et mit der dollen 5er - von wegen db umstellen un all so?n zeuchs [img]style_emoticons/<#EMO_DIR#>/sdb06802.gif[/img] greets [img]style_emoticons/<#EMO_DIR#>/cool.gif[/img] deluxe |
![]() |
| Lesezeichen |
| Stichworte |
| error, sql |
| Themen-Optionen | |
| Ansicht | |
|
|