今天有一個客戶的ecshop網站訪問不了,打開他的網站出現一個不多出現的錯誤提示「Notice: Undefined variable: data in 」,詳細錯誤提示以下:php
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 124web
問題分析:數據庫
出現上面Notice: Undefined variable: data in這個問題的緣由ecshop 的緩存紊亂。緩存
如何解決:session
把lib_base.php文件從新傳一下,把數據庫裏你session表清除一下,而後再修復外加優化一下表就能夠恢復正常使用了,建議平明作一些表優化就不會出現此類狀況了,緩存數據若是不及時處理的話很容易滿的優化