提示product_tag这个表不存在?是否要在数据库中先创建这张表啊?求高人解答!到底怎样批量上传产品!
作者: 逆水行舟 时间: 2012-9-20 20:41
<b>Notice</b>: Error: Table 'ocart.opt_product_tag' doesn't exist<br />Error No: 1146<br />SELECT p.product_id, pd.name, GROUP_CONCAT( DISTINCT CAST(pc.category_id AS CHAR(11)) SEPARATOR "," ) AS categories, p.sku, p.upc, p.location, p.quantity, p.model, m.name AS manufacturer, p.image AS image_name, p.shipping, p.price, p.points, p.date_added, p.date_modified, p.date_available, p.weight, wc.unit, p.length, p.width, p.height, p.status, p.tax_class_id, p.viewed, p.sort_order, pd.language_id, ua.keyword, pd.description, pd.meta_description, pd.meta_keyword, p.stock_status_id, mc.unit AS length_unit, p.subtract, p.minimum, GROUP_CONCAT( DISTINCT CAST(pr.related_id AS CHAR(11)) SEPARATOR "," ) AS related, GROUP_CONCAT( DISTINCT pt.tag SEPARATOR "," ) AS tags FROM `opt_product` p LEFT JOIN `opt_product_description` pd ON p.product_id=pd.product_id AND pd.language_id=1 LEFT JOIN `opt_product_to_category` pc ON p.product_id=pc.product_id LEFT JOIN `opt_url_alias` ua ON ua.query=CONCAT('product_id=',p.product_id) LEFT JOIN `opt_manufacturer` m ON m.manufacturer_id = p.manufacturer_id LEFT JOIN `opt_weight_class_description` wc ON wc.weight_class_id = p.weight_class_id AND wc.language_id=1 LEFT JOIN `opt_length_class_description` mc ON mc.length_class_id=p.length_class_id AND mc.language_id=1 LEFT JOIN `opt_product_related` pr ON pr.product_id=p.product_id LEFT JOIN `opt_product_tag` pt ON pt.product_id=p.product_id AND pt.language_id=1 GROUP BY p.product_id ORDER BY p.product_id, pc.category_id; in <b>D:\wamp\www\system\database\mysql.php</b> on line <b>49</b>作者: 逆水行舟 时间: 2012-9-20 20:42
打开excel出现这个作者: 逆水行舟 时间: 2012-9-22 12:11
.....版本问题!