ECSHOP出现Warning: file_put_contents问题

每当拷贝网站文件后,可能 会出现类似提示:
Warning: file_put_contents(D:/phpStudy/WWW//temp/static_caches/shop_config.php) [function.file-put-contents]: failed to open stream: No such file or directory in D:\phpStudy\WWW\includes\lib_base.php on line 1301

Warning: file_put_contents(D:/phpStudy/WWW/temp/compiled/admin/index.htm.php) [function.file-put-contents]: failed to open stream: No such file or directory in D:\phpStudy\WWW\includes\cls_template.php on line 262

Notice: can't write:D:/phpStudy/WWW/temp/compiled/admin/index.htm.php in D:\phpStudy\WWW\includes\cls_template.php on line 264

解决办法:
通常因为拷贝了文件,一些目录缺失和目录没有权限导致。
1、设置目录权限。
2、在temp下添加相应名称的目录,刷新即可。


--EOF


你可能感兴趣的:(错误日志记录)