Closed MeowRay closed 10 months ago
Current Behavior An error occurred while uploading the file
Steps to Reproduce 1.install fof/upload 2.install league/flysystem-aws-s3-v3 (require league/flysystem-aws-s3-v3 "1.*") 3.set the correct s3 configuration in the admin page 4.upload file
Expected Behavior Upload successful
Screenshots
Environment
Flarum core: 1.8.1 PHP version: 8.0.30 MySQL version: 8.0.30 Loaded extensions: Core, date, libxml, pcre, zlib, filter, hash, json, readline, Reflection, SPL, session, ctype, curl, dom, fileinfo, gd, gmp, iconv, intl, mbstring, openssl, PDO, standard, tokenizer, xmlwriter, zip, exif, mysqlnd, Phar, pdo_mysql, apcu, Zend OPcache +--------------------------------+----------+------------------------------------------+ | Flarum Extensions | | | +--------------------------------+----------+------------------------------------------+ | ID | Version | Commit | +--------------------------------+----------+------------------------------------------+ | flarum-flags | v1.8.0 | | | flarum-approval | v1.8.0 | | | flarum-bbcode | v1.8.0 | | | flarum-suspend | v1.8.0 | | | flarum-subscriptions | v1.8.0 | | | flarum-tags | v1.8.0 | | | afrux-forum-widgets-core | v0.1.7 | | | ziiven-post-number | v0.1.3 | | | zerosonesfun-composer-preview | 1.3 | | | the-turk-flamoji | dev-main | 7683a10774ef350eed533eb640440cefb4756035 | | swaggymacro-only-starter | 0.6.6 | | | rehiy-reply-to-see | v1.8.0 | | | ramesh-dada-bbcode-alerts | 6.21 | | | meowray-editor-extra | dev-main | 032bcfd27297ee165e9921b50ca7bef4b71e630c | | lrysia-pagination | dev-main | | | jslirola-login2seeplus | v0.2.1 | | | ianm-level-ranks | 1.1.0 | | | ganuonglachanh-search | 0.5.2 | | | fof-user-bio | 1.2.2 | | | fof-upload | 1.3.4 | | | fof-pretty-mail | 1.1.1 | | | fof-nightmode | 1.5.3 | | | fof-links | 1.2.0 | | | fof-frontpage | 1.1.1 | | | fof-formatting | 1.0.3 | | | fof-follow-tags | 1.1.7 | | | flarum-sticky | v1.8.0 | | | flarum-statistics | v1.8.0 | | | flarum-nicknames | v1.8.0 | | | flarum-mentions | v1.8.2 | | | flarum-markdown | v1.8.0 | | | flarum-lock | v1.8.0 | | | flarum-likes | v1.8.0 | | | flarum-lang-english | v1.8.0 | | | flarum-lang-chinese-simplified | v1.3.0 | | | flarum-emoji | dev-main | 580bf651b5cf4259510696c5e02381d3f9f8f7ea | | darkle-fancybox | 1.1.2 | | | afrux-news-widget | v0.1.1 | | | acpl-mobile-tab | 1.1.1 | | +--------------------------------+----------+------------------------------------------+ Base URL: https://flarum.devops.meowray.com Installation path: /flarum/app Queue driver: sync Session driver: file Mail driver: mail Debug mode: ON
Solved, there is a version error in the automatic dependency, you need to manually install the 3.2xxx aws/aws-sdk-php
Bug Report
Current Behavior An error occurred while uploading the file
Steps to Reproduce 1.install fof/upload
2.install league/flysystem-aws-s3-v3 (require league/flysystem-aws-s3-v3 "1.*")
3.set the correct s3 configuration in the admin page
4.upload file
Expected Behavior Upload successful
Screenshots![image](https://github.com/FriendsOfFlarum/upload/assets/29674595/fbaf3840-db8d-4d88-8102-16a8b1f017aa)
Environment