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

extensions.php script dies miserably when ext directory is missing

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: None
    • Labels:
      None

      Description

      athena% ~/opt/php54/bin/php extensions.php list
      Enabled:

      Disabled:

      Available:

      Fatal error: Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct(/var/www/qi/boards/x3/develop/../ext/): failed to open dir: No such file or directory' in /var/www/qi/boards/x3/includes/extension/manager.php:357
      Stack trace:
      #0 /var/www/qi/boards/x3/includes/extension/manager.php(357): RecursiveDirectoryIterator->__construct('/var/www/qi/boa...')
      #1 /var/www/qi/boards/x3/develop/extensions.php(52): phpbb_extension_manager->all_available()
      #2 /var/www/qi/boards/x3/develop/extensions.php(103): list_extensions()
      #3

      {main}

      thrown in /var/www/qi/boards/x3/includes/extension/manager.php on line 357

      It should simply say that there are no available extensions.

      And possibly this needs to be fixed in extension manager.

      Note that we do not have ext directory in the repository.

        Attachments

          Activity

            People

            • Assignee:
              bantu Andreas Fischer
              Reporter:
              Oleg Oleg [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: