Its my own dedicated server, are there any error logs in xenforo btw?A 500 error is a web server error.
Contact your host and ask them to investigate.
Found the error:You will need to investigate then, starting with the server error log.
2022/11/17 22:22:51 [error] 548158#548158: *4394 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function mysqli_init() in /var/www/valorhut/src/XF/Db/Mysqli/Adapter.php:152
Stack trace:
#0 /var/www/valorhut/src/XF/Db/Mysqli/Adapter.php(28): XF\Db\Mysqli\Adapter->makeConnection(Array)
#1 /var/www/valorhut/src/XF/Error.php(87): XF\Db\Mysqli\Adapter->getConnection()
#2 /var/www/valorhut/src/XF/App.php(2364): XF\Error->logException(Object(Error), true, '')
#3 /var/www/valorhut/src/XF.php(202): XF\App->logException(Object(Error), true)
#4 [internal function]: XF::handleException(Object(Error))
#5 {main}
thrown in /var/www/valorhut/src/XF/Db/Mysqli/Adapter.php on line 152PHP message: PHP Fatal error: Uncaught Error: Call to undefined function mysqli_init() in /var/www/valorhut/src/XF/Db/Mysqli/Adapter.php:152
Stack trace:
#0 /var/www/valorhut/src/XF/Db/Mysqli/Adapter.php(28): XF\Db\Mysqli\Adapter->makeConnection(Array)
#1 /var/www/valorhut/src/XF/Error.php(87): XF\Db\Mysqli\Adapter->getConnection()
#2 /var/www/valorhut/src/XF/App.php(2364): XF\Error->logException(Object(ErrorException), true, '')
#3 /var/www/valorhut/src/XF.php(242): XF\App->logException(Object(ErrorException), true)
#4 [internal function]: XF::handleFatalError()
#5 {main}
thrown in /var/www/valorhut/src/XF/Db/Mysqli/Adapter.php on line 152" while reading response header from upstream, client: 162.158.238.238, server: valorhut.net, request: "GET /admin HTTP/2.0", upstream: "fastcgi://unix:/var/r>2022/11/17 22:22:52 [error] 548158#548158: *4394 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function mysqli_init() in /var/www/valorhut/src/XF/Db/Mysqli/Adapter.php:152
Stack trace:
#0 /var/www/valorhut/src/XF/Db/Mysqli/Adapter.php(28): XF\Db\Mysqli\Adapter->makeConnection(Array)
#1 /var/www/valorhut/src/XF/Error.php(87): XF\Db\Mysqli\Adapter->getConnection()
#2 /var/www/valorhut/src/XF/App.php(2364): XF\Error->logException(Object(Error), true, '')
#3 /var/www/valorhut/src/XF.php(202): XF\App->logException(Object(Error), true)
#4 [internal function]: XF::handleException(Object(Error))
#5 {main}
thrown in /var/www/valorhut/src/XF/Db/Mysqli/Adapter.php on line 152PHP message: PHP Fatal error: Uncaught Error: Call to undefined function mysqli_init() in /var/www/valorhut/src/XF/Db/Mysqli/Adapter.php:152
Stack trace:
#0 /var/www/valorhut/src/XF/Db/Mysqli/Adapter.php(28): XF\Db\Mysqli\Adapter->makeConnection(Array)
#1 /var/www/valorhut/src/XF/Error.php(87): XF\Db\Mysqli\Adapter->getConnection()
#2 /var/www/valorhut/src/XF/App.php(2364): XF\Error->logException(Object(ErrorException), true, '')
#3 /var/www/valorhut/src/XF.php(242): XF\App->logException(Object(ErrorException), true)
#4 [internal function]: XF::handleFatalError()
#5 {main}
You or someone else with access to the server has removed mysqli.Call to undefined function mysqli_init()
Does xenforo create backups of database?You or someone else with access to the server has removed mysqli.
Rip thenNo.
Backups are the responsibility of the site owner/server admin.
Not necessarily.. those logs you showed indicate that mysqli PECL is NOT installed. Have you confirmed that it is?because looks like my database corrupted
Does xenforo create backups of database?
@Sprisa You learned something important today! And don't forget your files on the server (especiallyBackups are the responsibility of the site owner/server admin.
/data
and /internal_data
)... I hope you can recover your database and that this time it's nothing serious.It is something serious, i wrote some big articles and guides on my forum and that got us some users, and now thats lost@Sprisa You learned something important today! And don't forget your files on the server (especially/data
and/internal_data
)... I hope you can recover your database and that this time it's nothing serious.
What about this @Sprisa ??Not necessarily.. those logs you showed indicate that mysqli PECL is NOT installed. Have you confirmed that it is?
I have confirmed that all my databases have corrupted.
What about get a definitive diagnose from a SQL expert ?what should i do now
We use essential cookies to make this site work, and optional cookies to enhance your experience.