ECStore开源文档
ECStore帮助文档
ECshop下载 | ECshop商业授权
安装指南 | 升级指南 | 用户手册 | 在线帮助
进入论坛发帖前请先读本帖 | 常见问题
ECMall多用户商城系统
ECStore B2B2C
ECStore产品授权中心
ECShop合伙人计划-一起赚钱
ECShop最新H5模板
ECMall基础套餐(PC+H5)
ECMall3.0商业授权
返回列表 发帖

[使用操作] 为什么不能上传图片???

Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid is 253744 is not allowed to access /home/vhosts/shs2004.orgfree.com/shs2004/images/200908 owned by uid 48 in /home/vhosts/shs2004.orgfree.com/shs2004/includes/lib_base.php on line 1097

Warning: copy() [function.copy]: SAFE MODE Restriction in effect. The script whose uid is 253744 is not allowed to access /home/vhosts/shs2004.orgfree.com/shs2004/images/200908 owned by uid 48 in /home/vhosts/shs2004.orgfree.com/shs2004/includes/lib_base.php on line 1102

Warning: copy(/home/vhosts/shs2004.orgfree.com/shs2004/images/200908/1250041369633363454.jpg) [function.copy]: failed to open stream: No such file or directory in /home/vhosts/shs2004.orgfree.com/shs2004/includes/lib_base.php on line 1102
ECSHOP 管理中心 - 系统信息
文件 01.jpg 上传失败。





这到底是为什么?每次上传都会出现这么一大行字,提示失败,在线等待中。。。

ECShop下载                             ECShop商业授权

还有,我的主页上去后在最上面总是显示段英文
Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 253744 is not allowed to access /home/vhosts/shs2004.orgfree.com/shs2004/temp/caches/f owned by uid 48 in /home/vhosts/shs2004.orgfree.com/shs2004/includes/cls_template.php on line 198

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

Notice: can't write:/home/vhosts/shs2004.orgfree.com/shs2004/temp/caches/f/index_40F756F0.php in /home/vhosts/shs2004.orgfree.com/shs2004/includes/cls_template.php on line 200
这是为什么呢?

TOP

1楼的现象,先检查images目录的权限问题

2楼的现象,先清除站点缓存文件 (熟悉的话可以在FTP上直接删除temp/caches 下面的文件,除index.htm)
1

评分人数

  • 晓天

ECShop下载                             ECShop商业授权

TOP

最近好像多了好多热心版主?
ECShop下载                             ECShop商业授权

TOP

我和一楼同样的问题,一楼解决了吗,我改了images目录的权限,还是不行呀

TOP

5# hantall
请问你的具体提示是什么
喜欢帮助他人想申请成为版主的热心网友可PM我。
官方定制开发 咨询QQ542554970
ECShop下载                             ECShop商业授权

TOP

Warning: copy() [function.copy]: Filename cannot be empty in D:\web\hhq\wwwroot\includes\lib_base.php on line 1102

这个是我的提示
ECShop下载                             ECShop商业授权

TOP

6# 晓天
我和一樓的情況都是一樣!!!


Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/) is not within the allowed path(s): (/home/nami/:/tmp:/usr/local/lib/php/) in /home/nami/domains/nami.com/public_html/onlineshop/includes/lib_base.php on line 627

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/) is not within the allowed path(s): (/home/nami/:/tmp:/usr/local/lib/php/) in /home/nami/domains/nami.com/public_html/onlineshop/includes/lib_base.php on line 627

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/) is not within the allowed path(s): (/home/nami/:/tmp:/usr/local/lib/php/) in /home/nami/domains/nami.com/public_html/onlineshop/includes/lib_base.php on line 627

Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid is 672 is not allowed to access /home/nami/domains/nami.com/public_html/onlineshop/images/201001 owned by uid 48 in /home/nami/domains/nami.com/public_html/onlineshop/includes/lib_base.php on line 1097

Warning: copy() [function.copy]: SAFE MODE Restriction in effect. The script whose uid is 672 is not allowed to access /home/nami/domains/nami.com/public_html/onlineshop/images/201001 owned by uid 48 in /home/nami/domains/nami.com/public_html/onlineshop/includes/lib_base.php on line 1102

Warning: copy(/home/nami/domains/nami.com/public_html/onlineshop/images/201001/1264145498492806063.jpg) [function.copy]: failed to open stream: No such file or directory in /home/nami/domains/nami.com/public_html/onlineshop/includes/lib_base.php on line 1102


看過images 目錄和子目錄權限都是777
但仍然不能上傅圖片

請高人指點!
ECShop下载                             ECShop商业授权

TOP

你更新下缓存,然后看下其他文件的权限是否正常
喜欢帮助他人想申请成为版主的热心网友可PM我。
官方定制开发 咨询QQ542554970
ECShop下载                             ECShop商业授权

TOP

9# 晓天

成功固定設置子目錄權限777
能夠上傳相片
可是上傳相片之後, 卻不能顯示出來, 只顯示no picture 的圖示
哪裡出了問題呢???
ECShop下载                             ECShop商业授权

TOP

除上传相册,上传商品图片正常吗?
喜欢帮助他人想申请成为版主的热心网友可PM我。
官方定制开发 咨询QQ542554970

TOP

11# 晓天

商品大圖可以成功上傳
但在商品相冊中, 後台雖然顯示"成功上傳", 可是在前台卻不能顯示圖片
問題在哪裡呢?
大圖ok, 小圖就變成 NO picture

TOP

你看那下上传的图片在那里了,你可以到image文件夹里面看下
从你的错误提示看,是权限不足
喜欢帮助他人想申请成为版主的热心网友可PM我。
官方定制开发 咨询QQ542554970

TOP

没看到你的演示
ECShop下载                             ECShop商业授权

TOP

13# 晓天

圖片上傳在images 的"201001"目錄裡, 這目錄包含:
- goods_img 資料夾 (資料夾內沒有檔案, 權限已經是777)
- source_img 資料夾 (資料夾內沒有檔案, 權限已經是777)
- thumb_img 資料夾 (資料夾內沒有檔案, 權限已經是777)
- 1264489313381506851.jpg  <---這就是圖片上傳後的名稱

是不是要重新刪除資料夾再重新設置權限???

在後台的商品相冊, 上傳圖片後, 顯示 "成功上傳" 所以沒再顯示錯誤碼
但前台看商品, 大圖顯示正常, 小圖(即商品相冊的圖片)就不能顯示了..... >_<

TOP

返回列表