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

Language customization: Check in strings to disk fails with an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 2.0
    • Language
    • Linux 2.6.27.11, Apache 2.2.9, MySQL 5.0.67, PHP 5.2.8
    • MySQL
    • MOODLE_20_STABLE

      I modified two strings in the CAS authentication plugin using the Language Customization tool. When I attempted to check the changes into disk, I received the following error:

      Coding error detected, it must be fixed by a programmer: Incorrect file location /var/moodledata-2.0/lang/en_local

      More information about this error
      Stack trace:

      line 261 of /admin/report/customlang/locallib.php: coding_exception thrown
      line 211 of /admin/report/customlang/locallib.php: call to report_customlang_utils::dump_strings()
      line 78 of /admin/report/customlang/index.php: call to report_customlang_utils::checkin()

      /var/moodledata-2.0/lang did not exist, so I created it (and the subdirectory en_local) with mode 755 and Apache as the owner. I got the same error, but I notice that the en_local directory was removed by the check in procedure.

            mudrd8mz David Mudrák (@mudrd8mz)
            chrisf Chris Fryer
            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.