Hi,
Today one of my users contact me via email and told me there is a problem on registration form and he can't sign up. So I tested myself and figured out that there is "Error 500 Server" when someone fill the registration fields.
There is no log file and no error_log when this error occur! But in browser's console i get this error:
Failed to load resource: the server responded with a status of 500 ()
betalk.ir/:1 Uncaught (in promise)
ti
alert
:
content
:
['اوه! خطایی رخ داده است! لطفا صفحه را تازه سازی کنید و مجددا تلاش کنید.']
controls
:
false
dismissible
:
false
type
:
"error"
[[Prototype]]
:
Object
options
:
background
:
true
body
:
{username: 'test5', email: 'testtt@gmail.com', password: 'Test87586754', nickname: 'test account', fof_terms_policy_1: true, …}
config
:
ƒ ()
deserialize
:
ƒ (t)
errorHandler
:
ƒ ()
extract
:
ƒ (t)
method
:
"POST"
url
:
"https://betalk.ir/register"
[[Prototype]]
:
Object
response
:
errors
:
Array(1)
0
:
{status: '500', code: 'unknown'}
length
:
1
[[Prototype]]
:
Array(0)
[[Prototype]]
:
Object
responseText
:
"{\"errors\":[{\"status\":\"500\",\"code\":\"unknown\"}]}"
status
:
500
xhr
:
XMLHttpRequest
abort
:
ƒ ()
onabort
:
null
onerror
:
null
onload
:
null
onloadend
:
null
onloadstart
:
null
onprogress
:
null
onreadystatechange
:
ƒ (t)
ontimeout
:
null
readyState
:
4
response
:
"{\"errors\":[{\"status\":\"500\",\"code\":\"unknown\"}]}"
responseText
:
"{\"errors\":[{\"status\":\"500\",\"code\":\"unknown\"}]}"
responseType
:
""
responseURL
:
"https://betalk.ir/register"
responseXML
:
null
status
:
500
statusText
:
""
timeout
:
0
upload
:
XMLHttpRequestUpload {onloadstart: null, onprogress: null, onabort: null, onerror: null, onload: null, …}
withCredentials
:
false
[[Prototype]]
:
XMLHttpRequest
DONE
:
4
HEADERS_RECEIVED
:
2
LOADING
:
3
OPENED
:
1
UNSENT
:
0
abort
:
ƒ abort()
getAllResponseHeaders
:
ƒ getAllResponseHeaders()
getResponseHeader
:
ƒ getResponseHeader()
onreadystatechange
:
(...)
open
:
ƒ open()
overrideMimeType
:
ƒ overrideMimeType()
readyState
:
(...)
response
:
(...)
responseText
:
(...)
responseType
:
(...)
responseURL
:
(...)
responseXML
:
(...)
send
:
ƒ send()
setRequestHeader
:
ƒ setRequestHeader()
status
:
(...)
statusText
:
(...)
timeout
:
(...)
upload
:
(...)
withCredentials
:
(...)
constructor
:
ƒ XMLHttpRequest()
Symbol(Symbol.toStringTag)
:
"XMLHttpRequest"
onabort
:
(...)
onerror
:
(...)
onload
:
(...)
onloadend
:
(...)
onloadstart
:
(...)
onprogress
:
(...)
ontimeout
:
(...)
get onreadystatechange
:
ƒ onreadystatechange()
set onreadystatechange
:
ƒ onreadystatechange()
get readyState
:
ƒ readyState()
get response
:
ƒ response()
get responseText
:
ƒ responseText()
get responseType
:
ƒ responseType()
set responseType
:
ƒ responseType()
get responseURL
:
ƒ responseURL()
get responseXML
:
ƒ responseXML()
get status
:
ƒ status()
get statusText
:
ƒ statusText()
get timeout
:
ƒ timeout()
set timeout
:
ƒ timeout()
get upload
:
ƒ upload()
get withCredentials
:
ƒ withCredentials()
set withCredentials
:
ƒ withCredentials()
[[Prototype]]
:
XMLHttpRequestEventTarget
[[Prototype]]
:
Object
constructor
:
ƒ (t,e,n,r)
[[Prototype]]
:
Object
My forum is https://betalk.ir
can you check what's wrong with it?
Flarum core 1.5.0
PHP version: 8.0.19
MySQL version: 10.4.24-MariaDB
Loaded extensions: Core, bcmath, calendar, ctype, date, filter, hash, iconv, json, SPL, pcre, readline, Reflection, session, standard, mysqlnd, tokenizer, zip, zlib, libxml, dom, PDO, bz2, SimpleXML, xml, xmlreader, xmlwriter, openssl, curl, fileinfo, gettext, mbstring, exif, mysqli, pdo_mysql, pdo_sqlite, Phar, ftp
+--------------------------------------+---------+--------+
| Flarum Extensions | | |
+--------------------------------------+---------+--------+
| ID | Version | Commit |
+--------------------------------------+---------+--------+
| flarum-flags | v1.5.0 | |
| flarum-markdown | v1.5.0 | |
| flarum-suspend | v1.5.0 | |
| flarum-subscriptions | v1.5.0 | |
| flarum-tags | v1.5.0 | |
| flarum-approval | v1.5.0 | |
| askvortsov-rich-text | v2.1.7 | |
| flarum-lock | v1.5.0 | |
| flarum-likes | v1.5.0 | |
| afrux-forum-widgets-core | v0.1.7 | |
| fof-user-directory | 1.2.3 | |
| fof-follow-tags | 1.1.6 | |
| flarum-nicknames | v1.5.0 | |
| fof-spamblock | 1.0.2 | |
| fof-pages | 1.0.4 | |
| fof-oauth | 1.2.2 | |
| fof-byobu | 1.1.7 | |
| v17development-blog | v0.6.4 | |
| v17development-seo | v1.8.0 | |
| the-turk-flamoji | 1.0.4 | |
| sycho-profile-cover | v1.3.3 | |
| swaggymacro-only-starter | 0.6.4 | |
| noriods-auto-more | v1.0.0 | |
| nearata-twofactor | v2.1.1 | |
| nearata-no-self-likes | v1.2.1 | |
| nearata-internal-links-noreload | v2.1.3 | |
| nearata-embed-video | v3.2.1 | |
| miniflar-top-like-givers-widget | 0.1.0 | |
| mickmelon-coloured-usernames | 0.1.1 | |
| malago-achievements | 0.5.5 | |
| justoverclock-welcomebox | 1.3.7 | |
| justoverclock-thread-read-time | 0.1.7 | |
| justoverclock-last-registered-users | 0.1.5 | |
| justoverclock-header-slideshow | 0.1.1 | |
| justoverclock-hashtag | 1.0.1 | |
| justoverclock-guestengagement | 1.0.3 | |
| justoverclock-feedback | 0.1.9 | |
| justoverclock-custom-html-widget | 0.1.4 | |
| justoverclock-contactme | 0.2.3 | |
| justoverclock-auto-post-count-badge | 0.1.9 | |
| irmmr-rtl | V0.1.4 | |
| ianm-synopsis | 1.2.1 | |
| ianm-follow-users | 1.2.0 | |
| glowingblue-password-strength | 3.1.0 | |
| fof-username-request | 1.0.1 | |
| fof-user-bio | 1.1.0 | |
| fof-upload | 1.2.3 | |
| fof-terms | 1.2.0 | |
| fof-subscribed | 1.1.2 | |
| fof-stopforumspam | 1.2.1 | |
| fof-split | 1.1.0 | |
| fof-sitemap | 2.0.1 | |
| fof-share-social | 1.1.0 | |
| fof-recaptcha | 1.1.0 | |
| fof-pwned-passwords | 1.0.2 | |
| fof-profile-image-crop | 1.0.1 | |
| fof-prevent-necrobumping | 1.1.0 | |
| fof-pretty-mail | 1.1.1 | |
| fof-polls | 1.2.0 | |
| fof-nightmode | 1.5.0 | |
| fof-moderator-notes | 1.1.0 | |
| fof-merge-discussions | 1.3.1 | |
| fof-links | 1.1.2 | |
| fof-gamification | 1.5.0 | |
| fof-formatting | 1.0.2 | |
| fof-drafts | 1.1.2 | |
| fof-disposable-emails | 1.0.0 | |
| fof-best-answer | 1.2.3 | |
| flarum-sticky | v1.5.0 | |
| flarum-statistics | v1.5.0 | |
| flarum-mentions | v1.5.0 | |
| flarum-lang-persian | 0.1.1 | |
| flarum-lang-english | v1.5.0 | |
| flarum-emoji | v1.5.0 | |
| flarum-bbcode | v1.5.0 | |
| ffans-clipboardjs | v1.0.0 | |
| extiverse-mercury | 0.2.0 | |
| datlechin-title-length | v0.1.1 | |
| datlechin-silent-edit | v0.1.0 | |
| datlechin-more-discussions | v0.1.0 | |
| datlechin-bbcode-hide-content | v0.1.5 | |
| darkle-fancybox | 1.1.2 | |
| clarkwinkelmann-username-blacklist | 1.0.0 | |
| clarkwinkelmann-predefined-avatars | 1.0.1 | |
| clarkwinkelmann-post-bookmarks | 1.0.0 | |
| clarkwinkelmann-mass-actions | 1.1.2 | |
| clarkwinkelmann-first-post-approval | 1.0.1 | |
| clarkwinkelmann-discussion-bookmarks | 2.0.0 | |
| clarkwinkelmann-colorful-borders | 1.0.0 | |
| clarkwinkelmann-author-change | 1.0.2 | |
| blomstra-sort-order-toggle | 0.2.0 | |
| blomstra-mark-unread | 0.2.0 | |
| askvortsov-moderator-warnings | v0.6.1 | |
| askvortsov-markdown-tables | v1.2.1 | |
| afrux-top-posters-widget | v0.1.4 | |
| afrux-online-users-widget | v0.1.6 | |
| afrux-forum-stats-widget | v0.1.1 | |
| acpl-mobile-tab | 1.1.0 | |
| acpl-lscache | 0.4.1 | |
+--------------------------------------+---------+--------+
Base URL: http://localhost/flarum/public
Installation path: C:\xampp\htdocs\flarum
Queue driver: sync
Mail driver: smtp
Debug mode: off