Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-17458 Install & upgrade 2.0 cleanup META
  3. MDL-12307

A trailing backslash on the moodle data directory entry during configuration creates a bad config.php file

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0
    • 1.8.2
    • Administration
    • None
    • This is in a moodle 1.8.2 checkout
    • Any
    • MOODLE_18_STABLE
    • MOODLE_20_STABLE

      During the configuration process, if one enters a moodle data directory with a trailing backslash, this writes a bad config.php file and generates, to the user, a confusing error message. The trailing backslash escapes the closing single quote in php, which happens to be the last single quote, and php considers the file to end prematurely, etc.

      Need to filter the entries in the configuration process...

            skodak Petr Skoda
            xtitter Nathaniel Titterton (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.