安装完毕后,就出现以下问题?请问怎样解决?

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

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

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

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

安装时按照“宝典”的提示做的, 每一步都很顺利。但就是在“查看网店”的时候就出现以上代码了?

回答:
/var/www/vhosts/mall101.com/httpdocs/temp/caches

将Caches目录权限修改为777,然后清空缓存就好了

将Caches目录权限修改为777,然后清空缓存就好了.

将Caches目录权限修改为777,然后清空缓存如果,还是出错。怎样办呢?

查看 提示的错误是否很上次一致

出错的提示也是一样的。

那么再用ftp查下temp文件夹以及子文件夹的权限,然后更新下缓存