紧急求助,出现这个问题怎么解决,求高手帮忙!!!

2016-07-07 15:00 来源:www.chinab4c.com 作者:ecshop专家

http://www.75shucheng.com/category.php?id=29
点下那个产品 就会变成http://www.75shucheng.com/goods.php?id=586
提示这些,MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT u.user_name, og.goods_number, oi.add_time, IF(oi.order_status IN (2, 3, 4), 0, 1) AS order_status FROM `sccom_75SHUCHENG`.`ecs_order_info` AS oi LEFT JOIN `sccom_75SHUCHENG`.`ecs_users` AS u ON oi.user_id = u.user_id, `sccom_75SHUCHENG`.`ecs_order_goods` AS og WHERE oi.order_id = og.order_id AND 1334139531 - oi.add_time < 2592000 AND og.goods_id = 586 ORDER BY oi.add_time DESC LIMIT 5 ) [2] => Array ( [error] => Unknown column 'u.user_name' in 'field list' ) [3] => Array ( [errno] => 1054 ) )

不知道怎么回事 , 请哪位高手帮忙解决下!!!

回答:
提示没有user_name这个字段

Ecshop 定制的快递单批量打印、批量同步发货软件看下面 很早就发布了

http://bbs.ecshop.com/thread-131723-1-1.html




那要怎么解决?

数据库问题。。。 缺少 ecs_users 表中的user_name字段,找份和你版本相匹配的数据库,把user_name表重新导进去看看。。。 记得先备份

赚积分···

赚积分···