Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13588

Information message for disabled fsockopen() is not displayed correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.4-RC1
    • 3.1.3
    • ACP
    • None
    • PHP 5.4.19

      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');

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

              Created:
              Updated:
              Resolved: