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


  今天有一个客户的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表清除一下,然后再修复外加优化一下表就可以恢复正常使用了,建议平明做一些表优化就不会出现此类情况了,缓存数据如果不及时处理的话很容易满的


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM