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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

            mudrd8mz David Mudrák (@mudrd8mz)
            chrisf Chris Fryer
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: