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

Wrong parameters for Exception in phpbb/file_downloader.php

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 3.1.2
    • 3.1.3-RC1
    • None
    • None

    Description

      Fatal error: Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]]) in E:\phpBB\Ascraeus\phpBB\phpbb\file_downloader.php on line 72

      To reproduce just change the filename in the version helper to something invalid (ver.json) and refresh the version check. The problem is we pass an array:

      throw new \RuntimeException(array('FILE_NOT_FOUND', $filename));

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: