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

Can not upload images to database module

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      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...

        Attachments

        1. head_200.gif
          head_200.gif
          14 kB
        2. menu.png
          menu.png
          7 kB
        3. reflected sky 1.resized.jpeg
          reflected sky 1.resized.jpeg
          61 kB

          Issue Links

            Activity

              People

              Assignee:
              dougiamas Martin Dougiamas
              Reporter:
              jonwitts Jon Witts
              Tester:
              Nobody
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10