DB Error: unknown error SELECT g.id as gid, g.artikul as gartikul, g.name as gname, g.price as gprice, g.currency as gcurrency, g.quantity as gquantity, g.ed as ged, g.store as gstore, g.vendor as gvendor, g.note_file as gnote_file, g.pict as gpict, g.vendor_id as gvendor_id, g.state as gstate, g.never_visible as gnever_visible, g.group_id as ggroup_id, g.afields as gafields, f1, f2, f3, f4, r.name as rname, r.urlalias as rurlalias, r.position as rposition, r.parent as rparent, r.klevel as rklevel, c.briefly as cbriefly FROM good as g, permission_cache as p, rindex as r LEFT JOIN currency as c ON g.currency = c.id WHERE g.group_id = p.object_id AND p.action = "index" AND p.user_id = 2 AND access="allow" AND never_visible = 0 AND g.group_id = 179 AND g.group_id = r.id ORDER BY name [nativecode=1052 ** Column: 'name' in order clause is ambiguous]