[ticket/12802] Properly handle connection failures in SQLite3

PHPBB3-12802
Merge pull request #2690 from Noxwizard/ticket/12802

[ticket/12802] Properly handle connection failures in SQLite3

* Noxwizard/ticket/12802:
  [ticket/12802] Properly handle connection failures in SQLite3
Merge branch 'develop-ascraeus' into develop

* develop-ascraeus:
  [ticket/12802] Properly handle connection failures in SQLite3