cls_template.php

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

刚安装好,打开主页出现这个:
Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 643 is not allowed to access /www/hostami.me/l/e/o/leonshen/htdocs/temp/caches/f owned by uid 2001 in /www/hostami.me/l/e/o/leonshen/htdocs/includes/cls_template.php on line 198

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

Notice: can't write:/www/hostami.me/l/e/o/leonshen/htdocs/temp/caches/f/index_40F756F0.php in /www/hostami.me/l/e/o/leonshen/htdocs/includes/cls_template.php on line 200


后台可以正常进,向大侠求教。
PS:权限该改的都改了,空间却对够。

回答:
清空后台缓存

有用的话我就不发帖了。

file_put_contents(/www/hostami.me/l/e/o/leonshen/htdocs/temp/caches/f/index_40F756F0.php)
can't write:/www/hostami.me/l/e/o/leonshen/htdocs/temp/caches/f/index_40F756F0.php
根本没有这两个文件啊,奇怪。

而且文件夹f的权限修改不了。

楼主有更改过模版之类的么?重新覆盖一下upload文件夹呢

楼上的意思是全部重新上传?不会吧。

1# shlight
http://bbs.ecshop.com/thread-95341-1-1.html
5

按照那个改了,还是没用。

您可以用ftp查看temp/caches 里的各个文件夹的权限,看下里面的权限是否为777

temp目录。我感觉权限还是不足。

楼主解决了吗?我的也是这个问题,着急啊!!!

文件权限不足,更改文件权限
http://bbs.ecshop.com/thread-95341-1-1.html
搜索权限