求关注此问题,问题不知道出在哪里数据库提示错误了 高手请进

2016-07-07 14:55 来源:www.chinab4c.com 作者:ecshop专家

提示:MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT g.goods_id,g.cat_id,c.parent_id,g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `ecscn`.`ecs_goods` AS g LEFT JOIN `ecscn`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('10','2','1','3') ORDER BY g.sort_order, g.last_update DESC ) [2] => Array ( [error] => Unknown column 'c.parent_id' in 'field list' ) [3] => Array ( [errno] => 1054 ) )

下午修改模板来着,不知道修改到哪个模板导致了这个的问题,希望高手能关注给出一个完美的解决办法,谢谢