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

extensions.php script dies miserably when ext directory is missing

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.1.0-dev
    • 3.1.0-a1
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: