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

Uploading admin preset gives no indication of accepted file types

XMLWordPrintable

      Look at the form for uploading a preset to the file type:

      Try to guess it's type, fail and receive very ugly error:

      Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in /opt/moodle/master/src/admin/presets/classes/manager.php on line 628
       
      Warning: simplexml_load_string(): Oops in /opt/moodle/master/src/admin/presets/classes/manager.php on line 628
       
      Warning: simplexml_load_string(): ^ in /opt/moodle/master/src/admin/presets/classes/manager.php on line 628
      Skip to main content
      Wrong file
      (Continue)
       
      Error output, so disabling automatic redirect.
      

            pholden Paul Holden
            pholden Paul Holden
            Andrew Lyons Andrew Lyons
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 25 minutes
                25m

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