ECSHOP换空间后报错 Undefined variable: data in \includes\lib_base.php on line 1269
    文章作者:恒爱网络 阅读次数:2107 发布时间:2021-5-31

    ECSHOP程序更换空间后,设置一切正常,但是报脚本错误:

    PHP Notice: Undefined variable: data in \includes\lib_base.php on line 1269 

    PHP Notice: Undefined index: lang in includes\init.php on line 124 

    PHP Warning: require(languages//common.php): failed to open stream: No such file or directory in D:\includes\init.php on line 124 

    PHP Fatal error: require(): Failed opening required 'D:/languages//common.php' (include_path='.;D:/web/') in D:\web\includes\init.php on line 124 

    查询资料发现是旧的缓存导致的,删除网站根目录下temp/static_caches/里面的除了index.html文件的所有文件就可以了。如果还是不行,再把 temp/caches/下所有文件夹里面的内容删除后试试。