这个是怎么一回事儿

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

Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 3070 is not allowed to access /jotun1/justfree.com/k/i/n/kingjoo/htdocs/ecshop/temp/caches/f owned by uid 2001 in /jotun1/justfree.com/k/i/n/kingjoo/htdocs/ecshop/includes/cls_template.php on line 198

Warning: file_put_contents(/jotun1/justfree.com/k/i/n/kingjoo/htdocs/ecshop/temp/caches/f/index_40F756F0.php) [function.file-put-contents]: failed to open stream: No such file or directory in /jotun1/justfree.com/k/i/n/kingjoo/htdocs/ecshop/includes/cls_template.php on line 198

Notice: can't write:/jotun1/justfree.com/k/i/n/kingjoo/htdocs/ecshop/temp/caches/f/index_40F756F0.php in /jotun1/justfree.com/k/i/n/kingjoo/htdocs/ecshop/includes/cls_template.php on line 200

回答:
temp权限不够 ...

修改 读写权限

Can't create/write to file
引起此问题的原因:
1.数据库已经满了
2.相应目录具有可读写的权限。
解决方法:
1.增大服务器空间。
2.清理缓存目录、清空ecs_states表,目的都是为了增大可用空间。
3.还有些用户经常备份数据库,这样会造成data目录下的文件占用空间。建议用户备份数据库后将备份文件保存到本地,然后将服务器上的备份文件清除。
4.赋予相应的目录为可读写的权限。