分享

写回答

发帖

[提问] 请高人指点

GoDaddy GoDaddy 1826 人阅读 | 3 人回复

发表于 2010-11-13 00:12:10 | 显示全部楼层 |阅读模式

我之前用的linux的主机,现在有个asp+mssql的程序,所以换了windows的主机,但ecshop后台提示:
Warning: file_put_contents(D:/Hosting/6315217/html/data/config.php) [function.file-put-contents]: failed to open stream: Permission denied in D:\Hosting\6315217\html\aaddmin\index.php on line 524

Warning: file_put_contents(D:/Hosting/6315217/html//temp/static_caches/api_str.php) [function.file-put-contents]: failed to open stream: Permission denied in D:\Hosting\6315217\html\includes\lib_base.php on line 1268

cert 目录不可写入,您将无法上传 ICP BeiAn证书文件。
data 目录不可写入,您将无法上传包装、贺卡、品牌等等图片文件。
images 目录不可写入,您将无法上传任何商品图片。
images 目录不可写入,您的网站将无法浏览。
images 目录不可写入,您就无法备份当前的模版文件。

前台提示:Warning: file_put_contents(D:/Hosting/6315217/html/temp/compiled/index.dwt.php) [function.file-put-contents]: failed to open stream: Permission denied in D:\Hosting\6315217\html\includes\cls_template.php on line 262

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

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

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

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

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

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

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

好像是权限777问题,所以我就在ftp上修改777结果显示:
右] 500 'SITE CHMOD 777 goods_type.xml': command not understood
[右] SITE CHMOD 777 group_buy.xml
[右] 500 'SITE CHMOD 777 group_buy.xml': command not understood
[右] SITE CHMOD 777 index.xml
[右] 500 'SITE CHMOD 777 index.xml': command not understood
[右] SITE CHMOD 777 integrate.xml
[右] 500 'SITE CHMOD 777 integrate.xml': command not understood
[右] SITE CHMOD 777 mail_template.xml
[右] 500 'SITE CHMOD 777 mail_template.xml': command not understood
[右] SITE CHMOD 777 order.xml
[右] 500 'SITE CHMOD 777 order.xml': command not understood
求高人指点,弄了好几天了

回答|共 3 个

gypworks526

发表于 2010-11-13 09:25:27 | 显示全部楼层

add.c

发表于 2010-11-13 10:02:02 | 显示全部楼层

回复 1# 的帖子

Windows的权限要在后台设置, 参考GoDaddy空间如何设置读写权限

你这个可能是代码问题,建议重新上传一下程序看

mointa

发表于 2010-11-13 12:54:18 | 显示全部楼层

谢谢版主,在后台改权限就好了
您需要登录后才可以回帖 登录 | 注册

本版积分规则