ecshop 2.7.2 缓存写入出错

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

Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 513 is not allowed to access /var/www/shechipin12578/data/www/shechipin123.cn/temp/caches/7 owned by uid 48 in /var/www/shechipin12578/data/www/shechipin123.cn/includes/cls_template.php on line 198

Warning: file_put_contents(/var/www/shechipin12578/data/www/shechipin123.cn/temp/caches/7/goods_60AB3E36.php) [function.file-put-contents]: failed to open stream: No such file or directory in /var/www/shechipin12578/data/www/shechipin123.cn/includes/cls_template.php on line 198

Notice: can't write:/var/www/shechipin12578/data/www/shechipin123.cn/temp/caches/7/goods_60AB3E36.php in /var/www/shechipin12578/data/www/shechipin123.cn/includes/cls_template.php on line 200

我安装完,在后台上传商品,在前台点击商品的时候出现这个错误,/temp/caches这个文件的属性都设置为了777,但是缓存自动生成的文件夹属性默认为755,我想应该是这个里的问题,
麻烦大家帮助解决一下,在线等待。。。。。。。。。。。。

回答:
等待高手解决

我也遇到同一問題, 有沒有高手好心指點一下.

Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 10001 is not allowed to access /var/www/vhosts/ac-electronic.com/httpdocs/b2c/temp/caches/3 owned by uid 48 in /var/www/vhosts/ac-electronic.com/httpdocs/b2c/includes/cls_template.php on line 198

Warning: file_put_contents(/var/www/vhosts/ac-electronic.com/httpdocs/b2c/temp/caches/3/index_F8B2D071.php) [function.file-put-contents]: failed to open stream: No such file or directory in /var/www/vhosts/ac-electronic.com/httpdocs/b2c/includes/cls_template.php on line 198

Notice: can't write:/var/www/vhosts/ac-electronic.com/httpdocs/b2c/temp/caches/3/index_F8B2D071.php in /var/www/vhosts/ac-electronic.com/httpdocs/b2c/includes/cls_template.php on line 200