Warning: file_put_contents 什么原因

2016-07-07 15:21 来源:www.chinab4c.com 作者:ecshop专家

Warning: file_put_contents(D:/wwwroot/shop/temp/compiled/index.dwt.php) [function.file-put-contents]: failed to open stream: Permission denied in D:\wwwroot\shop\includes\cls_template.php on line 262

Notice: can't write:/wwwroot/shop/temp/compiled/index.dwt.php in D:\wwwroot\shop\includes\cls_template.php on line 264

Warning: file_put_contents(D:/wwwroot/shop/temp/caches/f/index_40F756F0.php) [function.file-put-contents]: failed to open stream: Permission denied in D:\wwwroot\shop\includes\cls_template.php on line 198

Notice: can't write:/wwwroot/shop/temp/caches/f/index_40F756F0.php in D:\wwwroot\shop\includes\cls_template.php on line 200

Warning: file_put_contents(D:/wwwroot/shop/temp/compiled/member_info.lbi.php) [function.file-put-contents]: failed to open stream: Permission denied in D:\wwwroot\shop\includes\cls_template.php on line 262

Notice: can't write:/wwwroot/shop/temp/compiled/member_info.lbi.php in D:\wwwroot\shop\includes\cls_template.php on line 264

Warning: file_put_contents(D:/wwwroot/shop/temp/compiled/vote.lbi.php) [function.file-put-contents]: failed to open stream: Permission denied in D:\wwwroot\shop\includes\cls_template.php on line 262

Notice: can't write:/wwwroot/shop/temp/compiled/vote.lbi.php in D:\wwwroot\shop\includes\cls_template.php on line 264

Warning: file_put_contents(D:/wwwroot/shop/temp/compiled/page_header.lbi.php) [function.file-put-contents]: failed to open stream: Permission denied in D:\wwwroot\shop\includes\cls_template.php on line 262

Notice: can't write:/wwwroot/shop/temp/compiled/page_header.lbi.php in D:\wwwroot\shop\includes\cls_template.php on line 264

几天了还是没好 什么原因呢

回答:



具体怎么设置呢 在那设置

最好用curl

D:/wwwroot/shop/temp目录权限

除了 /temp要設定777根本解決要把/temp/catch 內所有檔案都刪掉 留 index.htm就可以了