安装出现的严重错误

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

在linux主机上安装发现了一个严重哦你的错误,求助啊
错误一:
Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 10112 is not allowed to access /var/www/vhosts/drjanbeauty.com/httpdocs/temp/caches/8 owned by uid 48 in /var/www/vhosts/drjanbeauty.com/httpdocs/includes/cls_template.php on line 198

错误二:
Warning: file_put_contents(/var/www/vhosts/drjanbeauty.com/httpdocs/temp/caches/8/index_211F7AA6.php) [function.file-put-contents]: failed to open stream: No such file or directory in /var/www/vhosts/drjanbeauty.com/httpdocs/includes/cls_template.php on line 198

错误三:
Notice: can't write:/var/www/vhosts/drjanbeauty.com/httpdocs/temp/caches/8/index_211F7AA6.php in /var/www/vhosts/drjanbeauty.com/httpdocs/includes/cls_template.php on line 200

回答:
给 temp 文件夹 777 权限

这个小问题。文件的读写权限问题造成的