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

Error message when "fsockopen" is deactivated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.3.5-RC1
    • 3.3.4
    • ACP
    • None
    • PHP 8.0, MySQL(i) 10.3.22-MariaDB-1:10.3.22+maria~stretch, Firefox 88.0.1

      If "fsockopen" is deactivated on a webspace, the following error message appears under PHP 8 in the ACP

       {{Fatal error: Uncaught Error: Call to undefined function phpbb\fsockopen() in /users/**/www/forum2/phpbb/file_downloader.php:45 Stack trace: #0 /users/*/www/forum2/phpbb/version_helper.php(384): phpbb\file_downloader->get('version.phpbb.c...', '/phpbb', 'versions.json', 80) #1 /users/*/www/forum2/phpbb/version_helper.php(354): phpbb\version_helper->get_versions(false, false) #2 /users/*/www/forum2/phpbb/version_helper.php(230): phpbb\version_helper->get_versions_matching_stability(false, false) #3 /users/*/www/forum2/includes/acp/acp_main.php(447): phpbb\version_helper->get_update_on_branch(false) #4 /users/*/www/forum2/includes/functions_module.php(676): acp_main->main('main', 'main') #5 /users/**/www/forum2/adm/index.php(81): p_master->load_active() #6

      Unknown macro: {main}

      thrown in /users/***/www/forum2/phpbb/file_downloader.php on line 45}}

      Everything works under PHP 7.4.2.
      This fix helped.

            Marc Marc
            canam800er canam800er
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: