FriendsOfFlarum / upload

The file upload extension with insane intelligence for your Flarum forum.
https://discuss.flarum.org/d/4154
MIT License
177 stars 96 forks source link

500 错误 #351

Closed acolasialiuliu closed 1 year ago

acolasialiuliu commented 1 year ago

图片 我甚至无法发送文字,关闭插件就好了

acolasialiuliu commented 1 year ago

还有个问题就是,媒体库隐藏那个文件,如果第二次把通知点了不通知。 就无法点击删除了

clarkwinkelmann commented 1 year ago

Please post in English so we can better assist you.

If you encounter a 500 error, please retrieve the detailed error message from the Flarum log file. See https://docs.flarum.org/troubleshoot for how to do it.

Even with machine translation I don't understand your report. Please describe what you were attempting to do in more details, with steps to reproduce the problem on a different forum if possible.

Also please share as many details about your setup as possible. Are you self-hosting Flarum, which FoF Upload adapter are you using, what kind of file type have you uploaded, etc. Include your php flarum info of the forum so we can see other installed Flarum extensions and PHP version/extensions.

acolasialiuliu commented 1 year ago

Thanks for the reply, sorry, I'm also worried that machine translation will not be able to express it correctly Here are the results of PHP Flarum Info

[root@VM-20-13-centos bbs]# php flarum info Flarum core: 1.8.3 PHP version: 8.1.21 MySQL version: 8.0.24 Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, ctype, curl, dom, filter, ftp, gd, gettext, hash, iconv, intl, json, mbstring, SPL, session, pcntl, standard, mysqlnd, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, mysqli, shmop, SimpleXML, soap, sockets, sodium, sysvsem, tokenizer, xml, xmlreader, xmlwriter, zip, memcached, imagick, exif, redis, apcu, fileinfo, Zend OPcache +--------------------------------+---------+--------+ | Flarum Extensions | | | +--------------------------------+---------+--------+ | ID | Version | Commit | +--------------------------------+---------+--------+ | flarum-flags | v1.8.0 | | | flarum-approval | v1.8.0 | | | flarum-tags | v1.8.0 | | | yannisme-oxotheme | 2.1.6 | | | fof-upload | 1.4.1 | | | flarum-suspend | v1.8.1 | | | flarum-subscriptions | v1.8.0 | | | 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 | v1.8.0 | | | flarum-bbcode | v1.8.0 | | +--------------------------------+---------+--------+ Base URL: http://bbs.cathi.cn Installation path: /www/wwwroot/bbs Queue driver: sync Session driver: file Mail driver: smtp Debug mode: off

//I tried my best to close other plugins and still get the error that I can't upload, even the basic text sending is wrong 图片

//Another problem is that clicking this button will prompt a hidden notification, if the notification is not allowed. You can't click this button. The normal logic should still work, but not prompt notifications 图片

All are machine translated, I hope you can understand, thanks 图片

acolasialiuliu commented 1 year ago

Hi, I solved the problem with 500 图片 图片 图片 and check the bucket's back-to-origin settings

However, some other problems were found, such as the second image above, which cannot be customized for the storage path, which is not friendly to multiple sites per machine. The problem of deleting the notification being rejected still exists, and I don't know how to restart the notification, so I can only operate it in a different browser haha

acolasialiuliu commented 1 year ago

Despite the success of uploading the image, the publishing still fails, alas 图片

luceos commented 1 year ago

Was this resolved or why did you close the issue @acolasialiuliu ?

acolasialiuliu commented 1 year ago

Was this resolved or why did you close the issue @acolasialiuliu ?

Yes, I solved it. By the way, I learned debugs, which are part of the errors caused by my database format. And turn off the Pusher plugin