Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3503

Fatal error if no custom languages present

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2
    • 2.2.1
    • Local: Flavours
    • None
    • Hide

      Create an empty lang folder under dataroot - however,language customisations then probably won't be included in flavour packages?

      Show
      Create an empty lang folder under dataroot - however,language customisations then probably won't be included in flavour packages?
    • MOODLE_22_STABLE
    • MOODLE_22_STABLE

      I use $CFG->langlocalroot and $CFG->langotherroot to point my Moodle install at an alternative location for language packs than $CFG->dataroot/lang so the lang folder does not exist at $CFG->dataroot.

      When I try to load the 'package a flavour' link in my browser, it eventually gives a time-out.

      By digging in the code a bit, I can see that the loop is being entered in get_system_customlangs() even though the opendir() on $this->langpath returned false.

            dmonllao David Monllaó
            jenny-gray Jenny Gray (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.