今天有一个客户的ecshop网站访问不了,打开他的网站出现一个不多出现的错误提示“Notice: Undefined variable: data in ”,详细错误提示以下:php
Notice: Undefined variable: data in http://www.xxx.com/includes/lib_base.php on line 1241
Warning: require(F:/freehost/b2btianshu/web/languages//common.php) [function.require]: failed to open stream: No such file or directory in http://www.xxx.com/includes/init.php on line 124
Fatal error: require() [function.require]: Failed opening required 'F:/freehost/b2btianshu/web/languages//common.php' (include_path='.;F:/freehost/b2btianshu/web/') in http://www.xxx.com/includes/init.php on line 124web
问题分析:数据库
出现上面Notice: Undefined variable: data in这个问题的缘由ecshop 的缓存紊乱。缓存
如何解决:session
把lib_base.php文件从新传一下,把数据库里你session表清除一下,而后再修复外加优化一下表就能够恢复正常使用了,建议平明作一些表优化就不会出现此类状况了,缓存数据若是不及时处理的话很容易满的优化