ecshop后台订单是乱码
整个站其他都正常,就是下单后,进后台看订单内容,出现的是MySQLservererrorreport:Array([0]=>Array([message]=>MySQLQ...
整个站其他都正常,就是下单后,进后台看订单内容,出现的是MySQL server error report:Array ( [0] => Array ( [message] => MySQL
Query Error ) [1] => Array ( [sql] => SELECT concat(IFNULL(c.region_name,
''), ' ', IFNULL(p.region_name, ''), ' ', IFNULL(t.region_name, ''), ' ',
IFNULL(d.region_name, '')) AS region FROM `phpMyAdmin`.`ecs_order_info` AS o
LEFT JOIN `phpMyAdmin`.`ecs_region` AS c ON o.country = c.region_id LEFT JOIN
`phpMyAdmin`.`ecs_region` AS p ON o.province = p.region_id LEFT JOIN
`phpMyAdmin`.`ecs_region` AS t ON o.city = t.region_id LEFT JOIN
`phpMyAdmin`.`ecs_region` AS d ON o.district = d.region_id WHERE o.order_id =
'6' ) [2] => Array ( [error] => Unknown column 'o.province' in 'on clause'
) [3] => Array ( [errno] => 1054 ) )
不知道是那出问题,请教各位高手啦。 展开
Query Error ) [1] => Array ( [sql] => SELECT concat(IFNULL(c.region_name,
''), ' ', IFNULL(p.region_name, ''), ' ', IFNULL(t.region_name, ''), ' ',
IFNULL(d.region_name, '')) AS region FROM `phpMyAdmin`.`ecs_order_info` AS o
LEFT JOIN `phpMyAdmin`.`ecs_region` AS c ON o.country = c.region_id LEFT JOIN
`phpMyAdmin`.`ecs_region` AS p ON o.province = p.region_id LEFT JOIN
`phpMyAdmin`.`ecs_region` AS t ON o.city = t.region_id LEFT JOIN
`phpMyAdmin`.`ecs_region` AS d ON o.district = d.region_id WHERE o.order_id =
'6' ) [2] => Array ( [error] => Unknown column 'o.province' in 'on clause'
) [3] => Array ( [errno] => 1054 ) )
不知道是那出问题,请教各位高手啦。 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询