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

extensions.php script dies miserably when ext directory is missing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.0-a1
    • 3.1.0-dev
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: