还是关于cls_template.php的问题

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

在论坛上也看了基本上所有的关于cls_template.php的贴子,也严格按照install安装指南进行了相关目录的权限设置,可问题依然是:Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 10136 is not allowed to access /var/www/vhosts/wecanbags.com/httpdocs/temp/caches/f owned by uid 48 in /var/www/vhosts/wecanbags.com/httpdocs/includes/cls_template.php on line 198

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

Notice: can't write:/var/www/vhosts/wecanbags.com/httpdocs/temp/caches/f/index_40F756F0.php in /var/www/vhosts/wecanbags.com/httpdocs/includes/cls_template.php on line 200

在flashFXP中全部设置成777
裁剪.jpg

系统信息
服务器操作系统:Linux (218.5.79.180)Web 服务器:Apache/2.2.3 (CentOS)
PHP 版本:5.1.6MySQL 版本:5.0.77-log
安全模式:安全模式GID:
Socket 支持:时区设置:Asia/Chongqing
GD 版本:GD2 ( JPEG GIF PNG)Zlib 支持:
IP 库版本:20071024文件上传的最大大小:16M
ECShop 版本:v2.7.1 RELEASE 20091228安装日期:2010-02-01
编码:UTF-8


由于是全新架设的网站,网站空间1G和数据库空间500M肯定是足够的,空间商是中资源。

在管理员后台无此问题,一切正常。

望各位高手帮忙,谢谢!

回答:
http://bbs.ecshop.com/thread-95341-1-1.html
5

看temp文件夹的权限