升级完出现这个错误怎么办??

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

MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT gb.group_buy_id, gb.goods_id, gb.price_ladder, g.goods_name, g.goods_thumb, g.goods_img FROM `lefeu`.`ecs_group_buy` AS gb, `lefeu`.`ecs_goods` AS g WHERE g.goods_id = gb.goods_id AND gb.start_date <= '1233988300' AND gb.end_date >= '1233988300' AND g.is_delete = 0 ORDER BY gb.group_buy_id DESC LIMIT 0 ) [2] => Array ( [error] => Table 'lefeu.ecs_group_buy' doesn't exist ) [3] => Array ( [errno] => 1146 ) )

回答:
之前有没有对一些文件或数据库作修改?

ecs_group_buy 表不存在,请重新建立下

Table 'lefeu.ecs_group_buy' doesn't exist
缺少表

我找不到这个表了,汗,谁给我拷个传上来行么?

{ $s = 'data'; } else { $s = 'user_files/'; $s .= ceil($sid / 3000) . '/'; $s .= $sid % 3000; } return $s; } /** * 获得图片的目录路径 * * @param int $sid * * @return string 路径 */ function image_dir($sid = 0) { if (empty($sid)) { $s = 'images'; } else { $s = 'user_files/'; $s .= ceil($sid / 3000) . '/'; $s .= ($sid % 3000) . '/'; $s .= 'images'; } return $s; } } ?>


我又出现这个错误了