还有神奇的地方是,flarum目录下的日志并没有记录错误,只能从浏览器控制台中看到报错。
目前环境是这样:
主机系统:Debian 11
Flarum: 1.8.5
PHP: 8.3.10
MySQL: 5.7.40-log
root@iZj6cdwczct2c6c3qlyas6Z:/www/wwwroot/www.waitech.cn# php flarum info
Flarum core: 1.8.5
PHP version: 8.3.10
MySQL version: 5.7.40-log
Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, ctype, curl, dom, filter, ftp, gd, gettext, hash, iconv, intl, json, SPL, session, pcntl, standard, mysqlnd, PDO, pdo_mysql, pdo_sqlite, Phar, posix, random, Reflection, mysqli, shmop, SimpleXML, soap, sockets, sodium, sysvsem, tokenizer, xml, xmlreader, xmlwriter, zip, fileinfo, mbstring, exif
+---------------------------------+---------+--------+
| Flarum Extensions | | |
+---------------------------------+---------+--------+
| ID | Version | Commit |
+---------------------------------+---------+--------+
| flarum-suspend | v1.8.1 | |
| flarum-flags | v1.8.0 | |
| fof-user-directory | 1.3.3 | |
| flarum-tags | v1.8.1 | |
| flarum-approval | v1.8.1 | |
| zequeen-acgembed-remastered | v1.1.2 | |
| v17development-seo | v1.8.1 | |
| michaelbelgium-discussion-views | v7.3 | |
| ianm-log-viewer | 0.1.1 | |
| fof-user-bio | 1.4.0 | |
| fof-upload | 1.5.5 | |
| fof-socialprofile | 1.1.6 | |
| fof-pretty-mail | 1.1.2 | |
| fof-polls | 2.2.4 | |
| fof-oauth | 1.6.10 | |
| fof-nightmode | 1.5.3 | |
| fof-links | 1.2.3 | |
| fof-formatting | 1.0.3 | |
| fof-drafts | 1.2.10 | |
| fof-default-user-preferences | 1.2.1 | |
| fof-best-answer | 1.4.5 | |
| fof-analytics | 1.1.0 | |
| flarum-subscriptions | v1.8.0 | |
| flarum-sticky | v1.8.0 | |
| flarum-statistics | v1.8.0 | |
| flarum-pusher | v1.8.0 | |
| flarum-nicknames | v1.8.0 | |
| flarum-mentions | v1.8.3 | |
| 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 | |
| flagrow-sitemap | 2.2.1 | |
| clarkwinkelmann-emojionearea | 1.0.0 | |
| clarkwinkelmann-author-change | 1.0.3 | |
+---------------------------------+---------+--------+
Base URL: https://www.waitech.cn
Installation path: /www/wwwroot/www.waitech.cn
Queue driver: sync
Session driver: file
Scheduler status: core.admin.dashboard.status.scheduler.never-run
Mail driver: smtp
Debug mode: ON