Giter Site home page Giter Site logo

500 错误 about upload HOT 7 CLOSED

acolasialiuliu avatar acolasialiuliu commented on July 18, 2024
500 错误

from upload.

Comments (7)

acolasialiuliu avatar acolasialiuliu commented on July 18, 2024

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

from upload.

clarkwinkelmann avatar clarkwinkelmann commented on July 18, 2024

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.

from upload.

acolasialiuliu avatar acolasialiuliu commented on July 18, 2024

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
图片

from upload.

acolasialiuliu avatar acolasialiuliu commented on July 18, 2024

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

from upload.

acolasialiuliu avatar acolasialiuliu commented on July 18, 2024

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

from upload.

luceos avatar luceos commented on July 18, 2024

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

from upload.

acolasialiuliu avatar acolasialiuliu commented on July 18, 2024

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

from upload.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.