zoukankan      html  css  js  c++  java
  • 解决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表清除一下,然后再修复外加优化一下表就可以恢复正常使用了,建议平明做一些表优化就不会出现此类情况了,缓存数据如果不及时处理的话很容易满的

  • 相关阅读:
    Ural 1966 Cycling Roads
    SQL Server 2008 安装(lpt亲测)
    cf Round#273 Div.2
    poj 2318 TOYS
    计算几何好模板
    ❤Friends
    限制pyqt5应用程序 只允许打开一次
    pyqt5 菜单栏+信息提示框
    Android Linux deploy
    system分区解锁
  • 原文地址:https://www.cnblogs.com/sunny520/p/6708357.html
Copyright © 2011-2022 走看看