我在看ecshop手机版的商品详细页的时候,数据库报错,帮我看看是什么问题
MySQLservererrorreport:Array([0]=>Array([message]=>MySQLQueryError)[1]=>Array([sql]=>...
MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_thumb, g.goods_img, g.shop_price AS org_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, g.market_price, g.promote_price, g.promote_start_date, g.promote_end_date,g.bb_chicun FROM `jdshangcheng`.`ecs_link_goods` lg LEFT JOIN `jdshangcheng`.`ecs_goods` AS g ON g.goods_id = lg.link_goods_id LEFT JOIN `jdshangcheng`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE lg.goods_id = '141' AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 LIMIT 4 ) [2] => Array ( [error] => Unknown column 'g.bb_chicun' in 'field list' ) [3] => Array ( [errno] => 1054 ) )
我要怎么处理?是不是说数据库中缺少g.bb_chicun字段?我怎么添加进去呢? 展开
我要怎么处理?是不是说数据库中缺少g.bb_chicun字段?我怎么添加进去呢? 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询