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

Database connection gets closed on controllers

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.1-RC1
    • Component/s: Other
    • Labels:
    • Environment:
      PHP 7.4.1
      phpBB 3.3.0
      MySQL(i) 5.7.21

      Description

      Enable SQL debug explain and x-debug to catch it.

      Or remove the error control operator "@" here https://github.com/phpbb/phpbb/blob/master/phpBB/phpbb/db/driver/mysqli.php#L327 and visit the FAQ page or any controller page.

       

      The DB connction gets closed here in this line: https://github.com/phpbb/phpbb/blame/3.3.x/phpBB/includes/functions.php#L4496

      Which seems can be removed, awaiting confirmation.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Marc Marc
                Reporter:
                3Di 3Di
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: