The issue
Hello everyone, I'm glad to use Flarum, but there are some issues. Could you please help me take a look
Error loading page, please check the console.
Flarum information
Flarum core: 1.8.10
PHP version: 8.3.15
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, 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, mbstring, fileinfo
+--------------------------------+---------+--------+
| Flarum Extensions | | |
+--------------------------------+---------+--------+
| ID | Version | Commit |
+--------------------------------+---------+--------+
| flarum-flags | v1.8.1 | |
| flarum-approval | v1.8.2 | |
| flarum-tags | v1.8.2 | |
| fof-recaptcha | 1.3.4 | |
| flarum-suspend | v1.8.3 | |
| flarum-subscriptions | v1.8.1 | |
| flarum-sticky | v1.8.1 | |
| flarum-statistics | v1.8.1 | |
| flarum-mentions | v1.8.4 | |
| flarum-markdown | v1.8.1 | |
| flarum-lock | v1.8.1 | |
| flarum-likes | v1.8.1 | |
| flarum-lang-english | v1.8.0 | |
| flarum-lang-chinese-simplified | v1.6.0 | |
| flarum-extension-manager | v1.0.4 | |
| flarum-emoji | v1.8.1 | |
| flarum-bbcode | v1.8.0 | |
+--------------------------------+---------+--------+
Base URL: https://niuma.cc
Installation path: /www/wwwroot/niuma.cc
Queue driver: sync
Session driver: file
Mail driver: smtp
Debug mode: off
This error will appear in
- Open a incognito browser
- Enter account password login
- Error, F12 found that a POST request was sent to the root, which should normally be /login, so it returned 405
At this point, re accessing the root domain name (not refreshing the current tab) will result in a successful login
I found a similar problem, but it hasn't been resolved yet
https://discuss.flarum.org/d/32574-error-loading-page-please-check-the-console
php -m
`[PHP Modules]
bcmath
Core
ctype
curl
date
dom
fileinfo
filter
ftp
gd
gettext
hash
iconv
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
random
Reflection
session
shmop
SimpleXML
soap
sockets
sodium
SPL
sqlite3
standard
sysvsem
tokenizer
xml
xmlreader
xmlwriter
zip
zlib
[Zend Modules]`