美国服务器每当拷贝网站文件后,可能 会出现类似提示:
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下添加相应名称的目录,刷新即可。3、删除temp 目录下caceh缓存文件
购买使用一诺网络美国服务器,可以极大降低初创企业、中小企业以及个人开发者等用户群体的整体IT使用成本,无需亲自搭建基础设施、简化了运维和管理的日常工作量,使用户能够更专注于自身的业务发展和创新。美国服务器低至49元/月,购买链接:https://www.enuoidc.com/vpszq.html?typeid=3