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

zip_files_error language file

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 1.9.18
    • 1.9.5, 1.9.9, 1.9.17
    • Language
    • None
    • MySQL
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE
    • Hide

      Testing difficulty: HARD (relies on an error thrown)

      1. Somehow, make Moodle cry and call print_error('zipfileserror') and print_error('cannotunzipfile')
      2. TEST: Make sure both strings are displayed as existing

      Show
      Testing difficulty: HARD (relies on an error thrown) 1. Somehow, make Moodle cry and call print_error('zipfileserror') and print_error('cannotunzipfile') 2. TEST: Make sure both strings are displayed as existing

      If someone is using the zipfileserror language string, which is in some case used in eg Moodle 1.9.5 and 1.9.9, than you will notice that this language string is missing in the language file error.php.

      Fix:
      Just create an error.php file in your local language files and add the

      $string['zipfileserror'] = 'Could not create zip file!';

            mudrd8mz David Mudrák (@mudrd8mz)
            katpot Katarzyna Potocka
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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