ecshop程序includes\lib_base.php on line 1241
ECSHOP做的一个网站,突然报这个错误,整个网站打不开,经过ECSHOP网站开发中心官方技术对错误代码的分板,终于找到这个方法,亲测可用!
Notice: Undefinedvariable: data in D:\wwwroot\ecshop.name\includes\lib_base.php on line 1241
Warning: require() [function.require]: Unable to access D:/wwwroot/ecshop.name/languages//common.php in D:\wwwroot\ecshop.name\includes\init.php on line 124
Warning: require(D:/wwwroot/ecshop.name/languages//common.php) [function.require]: failed to open stream: No error in D:\wwwroot\ecshop.name\includes\init.php on line 124
Fatal error: require() [function.require]: Failed opening required 'D:/wwwroot/ecshop.name/languages//common.php' (include_path='.;D:/wwwroot/ecshop.name/') in D:\wwwroot\ecshop.name\includes\init.php on line 124
解决方法:到temp文件夹下的static_caches文件下的文件都删除就可以了。那个 static_caches是缓存,读取的缓存有错误,删除之后,重新生成新的缓存就没事了。