码迷,mamicode.com
首页 > 其他好文 > 详细

解决ecshop 前后台出现Notice: Undefined variable: data in

时间:2017-04-14 14:55:02      阅读:375      评论:0      收藏:0      [点我收藏+]

标签:undefined   color   common   cti   tar   错误   open   lan   font   

  今天有一个客户的ecshop网站访问不了,打开他的网站出现一个很少出现的错误提示“Notice: Undefined variable: data in ”,详细错误提示如下:

    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 124

  

  问题分析:

    出现上面Notice: Undefined variable: data in这个问题的原因ecshop 的缓存紊乱。

 

  如何解决:

    把lib_base.php文件重新传一下,把数据库里你session表清除一下,然后再修复外加优化一下表就可以恢复正常使用了,建议平明做一些表优化就不会出现此类情况了,缓存数据如果不及时处理的话很容易满的

解决ecshop 前后台出现Notice: Undefined variable: data in

标签:undefined   color   common   cti   tar   错误   open   lan   font   

原文地址:http://www.cnblogs.com/sunny520/p/6708357.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!