johnlui / AliyunOSS

阿里云 OSS 官方 SDK 的 Composer 封装,支持任何 PHP 项目,包括 Laravel、Symfony、TinyLara 等等。
489 stars 187 forks source link

Undefined index: host #9

Closed kailuo99 closed 8 years ago

kailuo99 commented 8 years ago

我使用的是Laravel5.2 ,用了您的包以后,使用OSS出现

ClientException in Command.php line 135: Undefined index: host

这个如何解决?

johnlui commented 8 years ago

我明天会测试这个包在 5.2 下的工作情况~

johnlui commented 8 years ago

你这个问题是因为配置文件中 ossServer 的值未加 http://。

kailuo99 commented 8 years ago

辛苦, 多谢~~~

在 2016年3月23日,00:57,JohnLui notifications@github.com 写道:

我明天会测试这个包在 5.2 下的工作情况~

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/johnlui/AliyunOSS/issues/9#issuecomment-199905312

gocuntian commented 7 years ago

"message":"The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.

johnlui commented 7 years ago

@xingcuntian 使用最新的版本了吗

Liuran9812 commented 6 years ago

您好 我 有两个问题 1 . require: "johnlui/aliyun-oss": "~2.0"以后,再composer update , vendor 里并没有aliyun-oss这个文件 夹是正常吗?

  1. 新建了app/services/OSS.php文件后,就报错了 说找不到文件中use JohnLui\AliyunOSS\AliyunOSS; 这个类