Moodle
  1. Moodle
  2. MDL-18072

Notice: undefined constant CLI_SCRIPT in installer

    Details

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

      Description

      When installing Moodle from scratch it's showing some notices like:

      Notice: Use of undefined constant CLI_SCRIPT - assumed 'CLI_SCRIPT' in C:\Documents and Settings\stronk7\Escritorio\server\moodle\lib\weblib.php on line 3831??
      Notice: Use of undefined constant CLI_SCRIPT - assumed 'CLI_SCRIPT' in C:\Documents and Settings\stronk7\Escritorio\server\moodle\lib\weblib.php on line 3845

      CLI_SCRIPT is defined in lib/setup.php , but web installers doesn't use that file at all. Going to define it to false (because they are web installers). Both in core and windows installers.

        Activity

        Eloy Lafuente (stronk7) created issue -
        Hide
        Eloy Lafuente (stronk7) added a comment -

        Done. Resolving as fixed.

        Show
        Eloy Lafuente (stronk7) added a comment - Done. Resolving as fixed.
        Eloy Lafuente (stronk7) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Martin Dougiamas made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Martin Dougiamas made changes -
        Workflow jira [ 30466 ] MDL Workflow [ 61873 ]
        Martin Dougiamas made changes -
        Workflow MDL Workflow [ 61873 ] MDL Full Workflow [ 91070 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: