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

PHP8 error in file_downloader.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Line 45 of file_downloader has an "@" which can cause an error in PHP8

      if ($socket = @fsockopen(($port == 443 ? 'ssl://' : '') . $host, $port, $this->error_number, $this->error_string, $timeout))
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              david63 david63
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: