Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12802

Properly handle connection errors in SQLite3

    Details

      Description

      The try/catch block in sql_connect() is catching a namespaced version of Exception instead of the standard class. Additionally, the calls to sql_connect() don't actually use the return value, so the connection error needs to be stored in connect_error since SQLite can't be queried later for the last error in this state.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            nicofuma nicofuma
            Reporter:
            Noxwizard Patrick Webster
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development