腾讯云对象存储错误:This XML file does not appear to have any style information associated with it. The docume

编程入门 行业动态 更新时间:2024-10-15 20:17:42

<a href=https://www.elefans.com/category/jswz/34/1770070.html style=腾讯云对象存储错误:This XML file does not appear to have any style information associated with it. The docume"/>

腾讯云对象存储错误:This XML file does not appear to have any style information associated with it. The docume

腾讯云上传的图片返回了正确的代码:

GuzzleHttp\Command\Result Object
([ETag] => "1eeec19af2564ccab82ee1622e54a34f"[RequestId] => NWVjZTAzYTlfM2RhZDUzNjRfNTZjY2VfOTNkNmNm[Key] => a1.jpg[Bucket] => hml-1258399702[Location] => hml-1258399702.cos.ap-shenzhen-fsi.myqcloud/a1.jpg
)

当我们访问location的时候打开图片是这样的:

报错:This XML file does not appear to have any style information associated with it. The docume

出现这个问题的原因是该存储桶内的图片是私有访问,需要改权限。进入腾讯云后台

选择其中的一个存储桶,点击设置:-》权限管理-》选择公有读

保存设置后再此访问,访问成功。

更多推荐

腾讯云对象存储错误:This XML file does not appear to have any style information associated

本文发布于:2024-03-06 09:12:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1714944.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:腾讯   对象   错误   XML   docume

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!