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

Can not upload images to database module

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.0
    • 2.0
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      I am trying to upload the attached images to the database activity module on the QA site to test the various database points, however I can not get any of them to upload.

      • menu.png gives the following JSON error in the upload window: "ERROR: Invalid JSON string

      Invalid get_string() identifier: 'image/png' or component 'mimetypes'line 5913 of /lib/moodlelib.php: call to debugging()line 6467 of /lib/moodlelib.php: call to core_string_manager->get_string()line 89 of /repository/upload/lib.php: call to get_string()line 271 of /repository/repository_ajax.php: call to repository_upload->upload()

      {"error":"[[image\/png]] filetype cannot be accepted."}

      "

      • reflected sky 1.resized.jpeg gives "JPEG image filetype cannot be accepted." error
      • head_200.gif gives "GIF image filetype cannot be accepted" error.

      This doesn't leave many image file types to try...

        1. head_200.gif
          14 kB
          Jon Witts
        2. menu.png
          7 kB
          Jon Witts
        3. reflected sky 1.resized.jpeg
          61 kB
          Jon Witts
        There are no Sub-Tasks for this issue.

            dougiamas Martin Dougiamas
            jonwitts Jon Witts
            Nobody Nobody (Inactive)
            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.