#1 (permalink)  
Alt 11.11.2005, 23:51
 
Registriert seit: 21.10.2004
Beiträge: 6
Standard

Hallo!

Hat jemand schon xtcommerce 3.0.4 sp1 mit MySQL 5.x richtig ans laufen bekommen?
Fehler: 1054 "Unknown column ..."

Ich wei?, dass es mit den "left Join" bzw. der Reihenfolge der Tabellen bei "from" zu tun hat. Allerdings kenne ich mit Joins nicht so aus. Bei wbb bzw. Portal 2.2 habe ich es hinbekommen. Nur hierbei klappt es noch nicht so richtig.
Hinweise dazu habe ich aus diesem Forum:
http://www.4homepages.de/forum/index...opic=10184.new

Jemand der ein "sp2" erstellen k?nnte diesbez?glich?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 12.11.2005, 15:57
 
Registriert seit: 21.10.2004
Beiträge: 6
Standard

Von oscommerce ist heute eine MySQL 5.x taugliche Version rausgekommen.
Dann denke ich mal wird es auch bald von xtcommerce eine kommen, oder?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #3 (permalink)  
Alt 12.11.2005, 16:02
Benutzerbild von mzanier
xt:Commerce GmbH, Geschäftsführung
 
Registriert seit: 18.04.2003
Beiträge: 27.414
Standard

f?r sponsoren ja.
__________________
xt:Commerce Helpdesk
xt:Commerce Blog

xt:Commerce Warenwirtschaft

###

Offene Stellen bei xt:Commerce!
xt:Commerce stellt ein
###
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #4 (permalink)  
Alt 04.04.2006, 14:18
 
Registriert seit: 04.04.2006
Beiträge: 8
Beitrag

$listing_sql = "select p.products_fsk18,
p.products_shippingtime,
p.products_model,
p.products_ean,
pd.products_name,
m.manufacturers_name,
p.products_quantity,
p.products_image,
p.products_weight,
pd.products_short_description,
pd.products_description,
p.products_id,
p.manufacturers_id,
p.products_price,
p.products_vpe,
p.products_vpe_status,
p.products_vpe_value,
p.products_discount_allowed,
p.products_tax_class_id
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
".$group_check."
".$fsk_lock."
and pd.language_id = '".(int) $_SESSION['languages_id']."'
and p2c.categories_id = '".$current_category_id."'".$sorting;

----------------
Beispiel:
Select COLUMNS From ((TABLES T1) left join TABLE T2 on T1.COLUMN = T2.COLUMN)
----------------
Wichtig sind die Klammern - Dann gehts auch mit MySQL 5.xxx

mfg
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #5 (permalink)  
Alt 10.05.2006, 13:52
 
Registriert seit: 10.05.2006
Beiträge: 1
Standard

In welcher Datei muss man dass ?ndern?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #6 (permalink)  
Alt 14.05.2006, 15:39
 
Registriert seit: 11.05.2006
Beiträge: 4
Standard

Zitat:
Originally posted by reimemonster@May 10 2006, 01:52 PM
In welcher Datei muss man dass ?ndern?
mochte ich auch gerne wissen.

ich habe auch dieser Fehler:
1054 "Unknown column ..."

und ich habe MySQL 4.1.18-standard??

mfg
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #7 (permalink)  
Alt 14.05.2006, 18:39
 
Registriert seit: 11.05.2006
Beiträge: 4
Standard

falsches Topic, entschuldigung.

mfg
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #8 (permalink)  
Alt 26.05.2006, 11:44
 
Registriert seit: 12.01.2006
Beiträge: 1
Standard

for me works perfect using mysql5 and php5
this is the file that has to be changed:

\xtcommerce\includes\modules\default.php

Line 199

from ((".TABLE_PRODUCTS." p, ".TABLE_PRODUCTS_DESCRIPTION." pd, ".TABLE_MANUFACTURERS." m, ".TABLE_PRODUCTS_TO_CATEGORIES." p2c ) left join ".TABLE_SPECIALS." s on p.products_id = s.products_id )

Line 233

from ((".TABLE_PRODUCTS." p, ".TABLE_PRODUCTS_DESCRIPTION." pd, ".TABLE_MANUFACTURERS." m ) left join ".TABLE_SPECIALS." s on p.products_id = s.products_id )

Line 277

from ((".TABLE_PRODUCTS." p, ".TABLE_PRODUCTS_DESCRIPTION." pd, ".TABLE_MANUFACTURERS." m, ".TABLE_PRODUCTS_TO_CATEGORIES." p2c ) left join ".TABLE_SPECIALS." s on p.products_id = s.products_id )

Lin3 320

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 )
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #9 (permalink)  
Alt 07.06.2006, 13:43
xt:C Sponsor
 
Registriert seit: 03.06.2006
Beiträge: 2
Standard

Hi Samson,

great hint ... works fine ;-)

thanks a lot

Best regards Sven
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #10 (permalink)  
Alt 07.06.2006, 15:56
Erfahrener Benutzer
 
Registriert seit: 19.03.2004
Beiträge: 110
Standard

Ich habe beide losungen versucht, aber denn bekomm ich ein 1064 - error

Kann jemand genau anweisen wass ich anderen muss?

Sehr viel Dank!

Johnny
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
mysql, xtcommerce

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 09:03 Uhr.

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

xt:Commerce is a SafeCharge brand