#1 (permalink)  
Alt 26.06.2006, 14:57
 
Registriert seit: 24.06.2006
Beiträge: 11
Standard

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 26.06.2006, 15:26
 
Registriert seit: 24.06.2006
Beiträge: 11
Standard

Datenbank MySQL 5.0.22-Debian_1.dotdeb.1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #3 (permalink)  
Alt 27.06.2006, 07:10
 
Registriert seit: 24.06.2006
Beiträge: 11
Standard

ok, habs gefunden...

wohl erst die Version 3.04 SP2 ist kompatibel mit MYSQL 5 ???????
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #4 (permalink)  
Alt 28.06.2006, 23:59
Benutzerbild von 74deluxe  
Registriert seit: 27.06.2006
Beiträge: 2
Standard

<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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
error, 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



Alle Zeitangaben in WEZ +1. Es ist jetzt 10:34 Uhr.

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

xt:Commerce is a SafeCharge brand