安装后首页出现一组代码

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

安装后,后台正常,前台其他页面也正常,只有首页页头上有此代码,怎么回事,请高手帮忙

Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 30002 is not allowed to access /www/99k.org/g/u/o/guocui/htdocs/temp/caches/f owned by uid 2001 in /www/99k.org/g/u/o/guocui/htdocs/includes/cls_template.php on line 198

Warning: file_put_contents(/www/99k.org/g/u/o/guocui/htdocs/temp/caches/f/index_40F756F0.php) [function.file-put-contents]: failed to open stream: No such file or directory in /www/99k.org/g/u/o/guocui/htdocs/includes/cls_template.php on line 198

Notice: can't write:/www/99k.org/g/u/o/guocui/htdocs/temp/caches/f/index_40F756F0.php in /www/99k.org/g/u/o/guocui/htdocs/includes/cls_template.php on line 200

回答:
请高手帮忙解决下啊

自己顶了

检查文件权限和空间是否满了

应该是权限问题

换个模板试一下,是不是改模板的时候出的问题

不行啊,权限全部设置了,换模板也一样,只有首页有这个问题,其他页面一切正常啊

提示temp/caches/f 有权限问题,你用ftp查看下该文件夹的权限是否正常