解決ECSHOP 前后臺出現(xiàn)NOTICE: UNDEFINED VARIABLE: DATA IN
網(wǎng)站出現(xiàn)一個很少出現(xiàn)的錯誤提示“Notice: Undefined variable: data in ”,詳細(xì)錯誤提示如下:
Notice: Undefined variable: data in /home/***.com/public_html/includeslib_base.php on line 1241
Warning: require(/home/***.com/public_html/upload/languages//common.php) [function.require]: failed to open stream: No
such file or directory in home/***.com/public_html/uploadincludesinit.php on line 121
Fatal error: require() [function.require]: Failed opening required ‘/home/***.com/public_html/upload/languages//common.php’ (include_path=’.; /home/***.com/public_html/upload/’) in
home***.compublic_htmluploadincludesinit.php on line 121
問題分析:
出現(xiàn)上面Notice: Undefined variable: data in這個問題,我們很容易就想到,是不是用戶做過什么特別的修改,或者網(wǎng)站的空間滿了。
還可能是ecshop 的緩存紊亂。
如何解決:
1、 網(wǎng)站根目錄下的temp/static_caches/里面的除了index.html文件的所有文件都刪除。
2、 刪除 temp/caches/下所有文件夾里面的內(nèi)容。