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

Information message for disabled fsockopen() is not displayed correctly

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.4-RC1
    • Component/s: ACP
    • Labels:
      None
    • Environment:
      PHP 5.4.19

      Description

      It only displays the language variable FSOCK_DISABLED instead of the text:

      "'FSOCK_DISABLED' => 'The operation could not be completed because the <var>fsockopen</var> function has been disabled or the server being queried could not be found.',"

      Should be fix with:
      \phpBB3\phpbb\file_downloader.php:
      Find:
      throw new \RuntimeException('FSOCK_DISABLED');
      Replace with:
      throw new \phpbb\exception\runtime_exception('FSOCK_DISABLED');

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            nickvergessen Joas Schilling
            Reporter:
            Crizzo Crizzo
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development