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

Can not create file "1/core_h5p/export/0/xxxx" warning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.8
    • H5P
    • MOODLE_38_STABLE

      While participating in the Moodle Admin basics MOOC I've found several times the following warning when displaying some H5P activities:

      String translation cannot be found. Please add a string definition for 'Can not create file "1/core_h5p/export/0/mark-the-words-12-12.h5p" (Duplicate entry '1790eb02f3c6235bde86edf0697b64b9ad8990de' for key 'mdl_file_pat_uix' INSERT INTO mdl_files (contextid,component,filearea,itemid,filepath,filename,timecreated,timemodified,mimetype,userid,source,author,license,status,sortorder,contenthash,filesize,pathnamehash) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) [array ( 0 => 1, 1 => 'core_h5p', 2 => 'export', 3 => 0, 4 => '/', 5 => 'mark-the-words-12-12.h5p', 6 => 1581080550, 7 => 1581080550, 8 => 'application/zip', 9 => NULL, 10 => NULL, 11 => NULL, 12 => NULL, 13 => 0, 14 => 0, 15 => '0f010044f6b6b725908f70dc3adc6bec019e9a98', 16 => 702672, 17 => '1790eb02f3c6235bde86edf0697b64b9ad8990de', )])' in the core_h5p component.
      line 353 of /h5p/classes/framework.php: call to debugging()
      line 1900 of /lib/h5p/h5p.classes.php: call to core_h5p\framework->t()
      line 2217 of /lib/h5p/h5p.classes.php: call to H5PExport->createExportFile()
      line 595 of /h5p/classes/player.php: call to H5PCore->filterParameters()
      line 177 of /h5p/classes/player.php: call to core_h5p\player->get_assets()
      line 64 of /h5p/embed.php: call to core_h5p\player->add_assets_to_page()

       

      The H5P content is displayed always, below the warning and, reloading the page, the warning disappears.

       

            Unassigned Unassigned
            sarjona Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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