You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sadly we have no proper error reporting in place at this point where a database connection fails.
What happens is that probably your database credentials or hostname are wrong; PHP cannot connect to the server with the data you entered. Can you verify you use the right database name and port?
@onli - we should address a proper error reporting here, our serendipity_db_connect() doesn't do any of that :-O
I've tried installing 2.5 on an empty webspace.
The installation (easy option) was aborted with the following error:
Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given
include/db/mysqli.inc.php Zeile 66
Backtrace
#0 include/db/mysqli.inc.php(66): mysqli_query(NULL, 'SELECT * FROM s...')
#1 include/admin/installer.inc.php(325): serendipity_db_query('SELECT * FROM s...', false, 'both', false, false, false, true)
#2 serendipity_admin.php(260): require('/home/webpages/...')
#3 {main}
Hoster: Limacity
Version of MySQL or MariaDB is: 8.0.34-26
The text was updated successfully, but these errors were encountered: