Skip to content
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

Uncaught mysqli_sql_exception in installer #772

Closed
mattsches opened this issue Nov 26, 2021 · 0 comments · Fixed by #773
Closed

Uncaught mysqli_sql_exception in installer #772

mattsches opened this issue Nov 26, 2021 · 0 comments · Fixed by #773

Comments

@mattsches
Copy link
Member

Tried to set up a fresh S9y installation with PHP 8.1 and the MySQLi backend - which failed due with

Fatal error: Uncaught mysqli_sql_exception: Table 'db.serendipity_authors' doesn't exist in /var/www/html/include/db/mysqli.inc.php on line 66

An exception seems to be expected in the installer, but only a PDOException, not a mysqli_sql_exception:

} catch (PDOException $e) {

We should probably add another catch block

    } catch (mysqli_sql_exception $e) {
        $t = null;
@onli onli closed this as completed in #773 Feb 12, 2022
mbirth added a commit to mbirth/LuckyCoinkydink that referenced this issue Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant