我把ECshop最新版放到linux里部署了,怎么提示缓存文件不能写入呢?

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

经朋友介绍,今天把最新版本的ECShop_V2.6.2_GBK_Release0326下载了下来,部署在linux下面,提示缓存文件不能写入?
提示如下错误
Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 10136 is not allowed to access /var/www/vhosts/dinwww.cn/httpdocs/upload/temp/caches/4 owned by uid 48 in /var/www/vhosts/dinwww.cn/httpdocs/upload/includes/cls_template.php on line 198

Warning: file_put_contents(/var/www/vhosts/dinwww.cn/httpdocs/upload/temp/caches/4/article_158C09CD.php) [function.file-put-contents]: failed to open stream: No such file or directory in /var/www/vhosts/dinwww.cn/httpdocs/upload/includes/cls_template.php on line 198

Notice: can't write:/var/www/vhosts/dinwww.cn/httpdocs/upload/temp/caches/4/article_158C09CD.php in /var/www/vhosts/dinwww.cn/httpdocs/upload/includes/cls_template.php on line 200

我在upload/temp/caches/文件下,把缓存目录和文件权限设置为777,提示"检查文件是否存在".
我在win2003下面部署就一点问题没有,看样子还是权限的问题,哪位老师帮我看看呢,谢谢了.

回答:
后台,,,系统设置..文件权限设置,检查下.
(不会是后台都登录不了吧...

网站测试那里都能用!就是系统生成的缓存文件没有写的权限.
而写入缓存的权限已经最大了啊
怎么回事呢
没有这缓存会怎么样?

把temp文件夹设置成777可写属性
把对应缓存文件删了