访问出错Array ( [errno] => 145 ) )

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

各位高手版主,

ECSHOP2.71搭建的网站
网站一直运行正常,昨天添加了分类树下的商品分类,添加了600多个分类,添加完后,在后台起始页查看流量统计,过了一会再访问域名出现下列错误提示:(错误一)
MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => INSERT INTO `super`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('117.89.117.64', '79', 'Safari 535.11', 'Windows NT', 'zh-CN,zh', '江苏省', '', '', '/index.php', '1330642760') ) [2] => Array ( [error] => Table '.\super\ecs_stats' is marked as crashed and should be repaired ) [3] => Array ( [errno] => 145 ) )

登陆后台,后台起始页同样显示:(错误二)MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT COUNT(*) FROM `super`.`ecs_stats` WHERE access_time > 1330588800 ) [2] => Array ( [error] => Table '.\super\ecs_stats' is marked as crashed and should be repaired ) [3] => Array ( [errno] => 145 ) )
其中域名访问刷新之后可访问正常,但清除浏览器缓存之后又会出现上述错误,但后台起始实页一直提示“错误二”,请各位高手帮忙看下是什么问题。

回答:
ecs_stats表要修复。有问题