Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-23222

SPL extension is required, not listed on environment.php

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Installation
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      The SPL extension appears to be the one which provides the DirectoryIterator class, which is used in several places in Moodle 2.0 (was not used in 1.9).

      This extension is not included on the environment.php list of required extensions. Should it be?

      Note: This extension is part of default, standard installations of php. However, it is not a required part of the core system until 5.3 (Moodle only requires 5.2.8), according to http://cz.php.net/manual/en/spl.installation.php

      I came upon this error because the extension does not seem to be provided by the Quercus php-in-java implementation. Sigh.

        Gliffy Diagrams

          Attachments

            Activity

            quen Sam Marshall created issue -
            Hide
            quen Sam Marshall added a comment -

            update: I think quercus actually does support SPL, but not DirectoryIterator. Sigh.

            Show
            quen Sam Marshall added a comment - update: I think quercus actually does support SPL, but not DirectoryIterator. Sigh.
            Show
            quen Sam Marshall added a comment - http://www.caucho.com/resin-javadoc/com/caucho/quercus/lib/spl/package-summary.html
            Show
            quen Sam Marshall added a comment - http://bugs.caucho.com/view.php?id=3033
            skodak Petr Skoda made changes -
            Field Original Value New Value
            Assignee moodle.com [ moodle.com ] Petr Skoda (skodak) [ skodak ]
            Hide
            skodak Petr Skoda added a comment -

            done, now required, thanks!

            Show
            skodak Petr Skoda added a comment - done, now required, thanks!
            skodak Petr Skoda made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Fix Version/s 2.0 [ 10122 ]
            Resolution Fixed [ 1 ]
            dougiamas Martin Dougiamas made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            QA Assignee nobody
            dougiamas Martin Dougiamas made changes -
            Workflow jira [ 37457 ] MDL Workflow [ 64874 ]
            dougiamas Martin Dougiamas made changes -
            Workflow MDL Workflow [ 64874 ] MDL Full Workflow [ 94180 ]

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  24/Nov/10