新安装后出现了以下代码是什么原因呢?

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

我今天使用的国外的空间,安装后在页面的头部就出现了以下代码,不知道是什么原因导致的、
请高手帮忙
Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 1887 is not allowed to access /www/425mb.com/j/i/a/jianjun/htdocs/temp/caches/f owned by uid 2001 in /www/425mb.com/j/i/a/jianjun/htdocs/includes/cls_template.php on line 198

Warning: file_put_contents(/www/425mb.com/j/i/a/jianjun/htdocs/temp/caches/f/index_40F756F0.php) [function.file-put-contents]: failed to open stream: No such file or directory in /www/425mb.com/j/i/a/jianjun/htdocs/includes/cls_template.php on line 198

Notice: can't write:/www/425mb.com/j/i/a/jianjun/htdocs/temp/caches/f/index_40F756F0.php in /www/425mb.com/j/i/a/jianjun/htdocs/includes/cls_template.php on line 200

回答:
can't write不能写入解决方法
http://bbs.ecshop.com/thread-69800-1-2.html

引起此问题的原因:
1.数据库已经满了
2.相应目录具有可读写的权限。

实际上这些问题都不存在
我的数据库是刚刚建立的,还没有使用多少
空间是1G的
另外includes\下的都是可写777包括文件和文件夹

顶下!!

Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 1334 is not allowed to access /www/425mb.com/z/h/o/zhouyi/htdocs/temp/caches/f owned by uid 2001 in /www/425mb.com/z/h/o/zhouyi/htdocs/includes/cls_template.php on line 198

Warning: file_put_contents(/www/425mb.com/z/h/o/zhouyi/htdocs/temp/caches/f/index_40F756F0.php) [function.file-put-contents]: failed to open stream: No such file or directory in /www/425mb.com/z/h/o/zhouyi/htdocs/includes/cls_template.php on line 198

Notice: can't write:/www/425mb.com/z/h/o/zhouyi/htdocs/temp/caches/f/index_40F756F0.php in /www/425mb.com/z/h/o/zhouyi/htdocs/includes/cls_template.php on line 200

知道原因的朋友能给予下帮助吗?

temp的权限

temp的权限
全部是777

temp/compiled/下的文件怎么设置不成777的,设置后还是644

temp下的文件夹可以设置成777的,可是文件基本上大多是644的,不知道是什么原因?
应该怎么才能让他们都是成为777呢?
我用的是L服务器

提示:
SITE CHMOD 777 /temp/static_caches/shop_config.php
550 Could not change perms on /temp/static_caches/shop_config.php: Operation not permitted

继续顶!
请高手帮忙!
再次感谢中..........

把temp和temp之下所有文件夹设为777就行了,文件不用。把除index.htm以外的文件删除掉。

temp\caches\5...之类的文件夹在设置的时候提示如下:
SITE CHMOD 777 /temp/caches/d
550 Could not change perms on /temp/caches/d: Operation not permitted

再顶下,希望高手出手帮忙!!!