-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install of 2.5 leads to type error, MySQLi, Hoster: Limacity #822
Comments
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 |
Yes, I'm sorry, it was my mistake. The installation was now successful. |
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: