急急,请人帮帮我,安装出问题了V2.6.2

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

正常安装时没有出错,安装完后能进入后台管理,但一进入网让主页就提示错误如下:
Warning:file_put_contents() [function.file-put-contents]:SAFE MODE Restriction in effect. The script whose uid is 10517 is notallowed to access/www/surge8.com/h/e/l/hellodo/htdocs/upload/temp/caches/f owned by uid2001 in /www/surge8.com/h/e/l/hellodo/htdocs/upload/includes/cls_template.php on line 198

Warning:file_put_contents(/www/surge8.com/h/e/l/hellodo/htdocs/upload/temp/caches/f/index_40F756F0.php) [function.file-put-contents]: failed to open stream: No such file or directory in /www/surge8.com/h/e/l/hellodo/htdocs/upload/includes/cls_template.php on line 198

Notice:can't write:/www/surge8.com/h/e/l/hellodo/htdocs/upload/temp/caches/f/index_40F756F0.php in /www/surge8.com/h/e/l/hellodo/htdocs/upload/includes/cls_template.php on line 200
请高人帮帮我。。谢谢了。。急

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

谢谢管理员了,我一个个试试。。谢谢

如果你用的是新网,可以联系对方客服

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

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

Notice: can't write:/home/vhosts/0319sj.orgfree.com/temp/caches/f/index_40F756F0.php in /home/vhosts/0319sj.orgfree.com/includes/cls_template.php on line 200

我也遇到相同的问题,但是我看我的数据库空间大小还是够的,不知道问题出在哪里???

应该还是服务器设置方面的问题的

设置那里呢??很发愁啊,找不到头绪。我把ecs_states清空了。没有什么用

如果您已经清空了ecs_states,查看下哪个表的数据量特别大还有
3.还有些用户经常备份数据库,这样会造成data目录下的文件占用空间。建议用户备份数据库后将备份文件保存到本地,然后将服务器上的备份文件清除。
4.赋予相应的目录为可读写的权限。