仍提示 Notice: can't write: 错误

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

打开网站网面后仍出现Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 0 is not allowed to access /var/www/temp/caches/f owned by uid 33 in /var/www/includes/cls_template.php on line 198Warning: file_put_contents(/var/www/temp/caches/f/index_40F756F0.php) [function.file-put-contents]: failed to open stream: No such file or directory in /var/www/includes/cls_template.php on line 198Notice: can't write:/var/www/temp/caches/f/index_40F756F0.php in /var/www/includes/cls_template.php on line 200在这个 帖子中:http://bbs.ecshop.com/thread-95190-1-2.html的解决方式还是不行大家遇到这种情况是怎么解决的?

回答:
看下temp文件夹的权限

看下temp文件夹的权限
晓天 发表于 2010-3-23 10:05

权限
使用linux的话 建议多注意权限

又是权限问题

那几个目录都设置为 0777,仔细查过没问题呀

再看下空间是否已经满了。
最后看下temp子目录中的文件,看产生的文件权限是多。