cls_template.php 錯誤
2016-07-07 15:37 来源:www.chinab4c.com 作者:ecshop专家
Yuki - Powered by ECShop剛安裝完ecshop 2.62, 去到首頁就出現這個問題, Warning: file_put_contents() [[url=function.file-put-contents]function.file-put-contents[/url]]: SAFE MODE Restriction in effect. The script whose uid is "MySQL DataBase" is not allowed to access /home/vhosts/"My website"/temp/caches/8 owned by uid 48 in /home/vhosts/"My website"/includes/cls_template.php on line 198 請高手指教... |
回答:
是否使用默认模板?清除一下缓存试试。 |
問題一樣,換了V2.51時就沒有這問題,但上傳圖片時會出現 Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid is 193330 is not allowed to access /home/vhosts/yuki.freevar.com/images/200903 owned by uid 48 in /home/vhosts/yuki.freevar.com/includes/lib_common.php on line 3103 Warning: copy() [function.copy]: SAFE MODE Restriction in effect. The script whose uid is 193330 is not allowed to access /home/vhosts/yuki.freevar.com/images/200903 owned by uid 48 in /home/vhosts/yuki.freevar.com/includes/lib_common.php on line 3107 Warning: copy(/home/vhosts/yuki.freevar.com/images/200903/1238208657997412716.jpg) [function.copy]: failed to open stream: No such file or directory in /home/vhosts/yuki.freevar.com/includes/lib_common.php on line 3107 |
这种问题主要是服务器启用了php安全模式,所以php文件再执行的时候被检查文件所有者就是UID,把目录的所有者改成自己用户的UID,即可,一般程序自动生成的文件所有者为apache用户 |
最近更新
常用插件
- ecshop导出待发货订单exce
ecshop导出待发货订单excel格式,这个东西是十分重要的,我们在倒出ec...
- ecshop商品列表中品牌批量
ecshop商品列表中品牌批量转移插件.这个插件听起来非常希奇。但是我们...
- ecshop2.7.2迷你购物车插件
ecshop2.7.2迷你购物车插件,这个插件主要是针对修改ecshop购买功能,为了...
- ecshop后台订单商品列表查
ecshop后台订单商品列表查询插件,可以通过名称。就把产品显示检索出...
- ecshop评论功能改进插件
ecshop评论功能改进插件,这个插件是改进了现有的ecshop评论功能的一些...
ecshop热门问答
ecshop热门资料
ecshopLOGO上传
ecshop长沙
ecshop绝色002模板
ecshopTOP
ecshop配套软件
ecshop构想
ecshop预付
ecshop评价
ecshop实体店
ecshopJoomla
ecshopxp系统
ecshop冒号
ecshop淘宝数据包
ecshopqqshop
ecshop用户登陆
ecshopflow
ecshop排序功能
ecshop急急急急急
ecshop预览
ecshopfashion
ecshop微信彩虹
ecshop商品总数
ecshop网上
ecshop登录淘宝
ecshop分类目录树
ec相关产品
ecshop模板出乱
ecshop整合cps
ecshop源文件
ecshopwidget