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

image/png missing language string

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1.6, 2.2.3
    • 2.2
    • Language
    • MOODLE_22_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide
      1. Go to [Site administration->Plugins->Repositories->Manage repositories] and make Youtube videos and Wikimedia 'Enabled and visible'.
      2. Create an activity which uses a text editor. (I chose a lesson, but it could be a reply in a forum)
      3. Click the moodle media button on the text editor and click 'Find or upload a sound, video or applet...'
      4. Select Wikimedia and then do a search for test
      5. Select one of the results which is a PNG file
      Show
      Go to [Site administration->Plugins->Repositories->Manage repositories] and make Youtube videos and Wikimedia 'Enabled and visible'. Create an activity which uses a text editor. (I chose a lesson, but it could be a reply in a forum) Click the moodle media button on the text editor and click 'Find or upload a sound, video or applet...' Select Wikimedia and then do a search for test Select one of the results which is a PNG file

      As Jason discovered:

      Invalid get_string() identifier: 'image/png' or component 'mimetypes'
       
      line 5962 of /lib/moodlelib.php: call to debugging()
      line 6552 of /lib/moodlelib.php: call to core_string_manager->get_string()
      line 177 of /repository/repository_ajax.php: call to get_string(){"error":"[[image\/png]] filetype cannot be accepted.","stacktrace":"* 
      line 177 of \/repository\/repository_ajax.php: moodle_exception thrown\n","debuginfo":null,"reproductionlink":"http:\/\/localhost\/istable21\/"

            poltawski Dan Poltawski
            poltawski Dan Poltawski
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Ankit Agarwal Ankit Agarwal
            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.