Results 210 comments of Bruce

没有logs目录可能是php没有权限创建目录,你检查一下权限。至于无法上传问题,你直接用命令试试能不能上传,能上传了再来查dashboard的问题,不能就看报什么错 ``` php /path/to/PicUploader/index.php /path/to/test.jpg ``` 另外dashboard里试试把“压缩到原图的”设置为100%,然后把添加水印关掉,然后在dashboard传试试,如果可以,那就是你的php安装的有问题。

应该是权限问题,你的php和nginx的运行用户和组分别是什么?PicUploader的用户和组又是什么?

看上去没问题呀,你这个报错是往哪个云传的? ``` Warning: is_readable(): open_basedir restriction in effect. File(/home/www/.aws/config) is not within the allowed path(s): (/www/wwwroot/PicUploader/:/tmp/) in /www/wwwroot/PicUploader/vendor/aws/aws-sdk-php/src/ClientSideMonitoring/ConfigurationProvider.php on line 236 {"code":"success","data":{"filename":"image.png","url":"![image.png](https:\/\/xxxx.com\/img\/ab2dc5e5ccc0d01a1127fd3faf2c5097.png)","notFormatUrl":"https:\/\/xxxx.com\/img\/ab2dc5e5ccc0d01a1127fd3faf2c5097.png"}} ```

不是无法返回,是报错信息混杂在response里,就导致response不是一个json串,不是json当然就无法正常解析出来了,我查查是什么原因吧

你看看这个文件还在不在: ``` /Users/jacob/Documents/root/PicUploader-master/index.php ``` 另外再看看权限相关的,我没有升级到Catalina,没法给你测试解决

目前(2020.08.21 17:06)我这边用学生帐号能登录onedrive,但是登录后显示 503 SERVICE UNAVAILABLE,我也不知道为什么,只能等我能登录时才能在onemanager里添加,然后看看onemanager具体是怎样的,才能知道是否能添加,因为onemanager几乎没有文档,所以无法从文档确定它有没有提供api。

貌似没法做,没有提供接口

有api直接在这里发出来就行

你理解错了,你这是onedrive帐号,不是api,我说的api是指onemanager的接口,你想想,我怎么才能用PicUploder把图片上传到onemanager?肯定要调用它的接口啊,然而它并没有提供接口,我也不想去扒,你可以去onemanager那边留言,问能不能提供一个接口给第三方程序调用。