求救!LIUNX空间出现问题

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

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

Warning: file_put_contents(/var/www/vhosts/myvodo.com/subdomains/shop/httpdocs/temp/caches/f/index_40F756F0.php) [function.file-put-contents]: failed to open stream: No such file or directory in /var/www/vhosts/myvodo.com/subdomains/shop/httpdocs/includes/cls_template.php on line 198

Notice: can't write:/var/www/vhosts/myvodo.com/subdomains/shop/httpdocs/temp/caches/f/index_40F756F0.php in /var/www/vhosts/myvodo.com/subdomains/shop/httpdocs/includes/cls_template.php on line 200

什么错误哦

回答:
操作系统..........................................................................................................................Linux
PHP 版本..........................................................................................................................5.2.4
是否支持MySQL..........................................................................................................................支持
GD 版本..........................................................................................................................2
是否支持 JPEG..........................................................................................................................支持
是否支持 GIF..........................................................................................................................支持
是否支持 PNG..........................................................................................................................支持
重要文件是否完整..........................................................................................................................完整
服务器是否开启安全模式..........................................................................................................................开启

是文件夹权限问题,把temp文件夹和其下了子文件全都设为可读写的就行了

权限问题,如楼上的说讲

用ftp软件连接空间后鼠标右键点文件夹并修改权限为777即可。

已设置两遍
无效

我开始的时候更改权限也不行(这个文件夹改不过来),后来我把f这个文件夹删掉,在新建了f的文件夹,就可以了