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

Information message for disabled fsockopen() is not displayed correctly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.3
    • 3.1.4-RC1
    • ACP
    • None
    • 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');

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: