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

Error in image.php requesting pix/core/f/h5p-64.error file

XMLWordPrintable

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • Hide
      1. Log in as admin
      2. Manually navigate to <WWWROOT>/contentbank/index.php
      3. Press Upload
      4. Upload greeting-card.h5p and save changes
      5. Press Exit
      6. Confirm presence of "H5P" icon next to the greeting-card content you just uploaded
      7. Confirm there are no errors such as the following in your webserver logs:

         Failed to open stream: No such file or directory in /var/www/html/theme/image.php
        

      Show
      Log in as admin Manually navigate to <WWWROOT>/contentbank/index.php Press Upload Upload greeting-card.h5p and save changes Press Exit Confirm presence of "H5P" icon next to the greeting-card content you just uploaded Confirm there are no errors such as the following in your webserver logs: Failed to open stream: No such file or directory in /var/www/html/theme/image.php

      This was detected as part of MDL-79317

      We are getting a good number of case in error logs, when invoking any of these:

      • contentbank/index.php
      • course/modedit.php
      • course/view.php

      About some "h5p-64.error" file not being there. Here it's it the information from the logs:

      89028:[Thu Sep 28 07:24:04.042049 2023] [php:notice] [pid 2605] [client 172.26.0.5:59310] Default exception handler: Exception - Warning: fopen([localcachedir]/theme/1695880713/boost/pix/core/f/h5p-64.error): Failed to open stream: No such file or directory in [dirroot]/theme/image.php on line 168 Debug:
      Error code: generalexceptionmessage
      * line 157 of /lib/behat/lib.php: Exception thrown
      * line ? of unknownfile: call to behat_error_handler()
      * line 168 of /theme/image.php: call to fopen()
      , referer: http://webserver17f5ca134fe22e5b/behatrun1/course/modedit.php?update=113000&return=1
      

      Haven't been able to determine which behat scenarios are causing them, but surely they are a bunch.

      It seems that it's new problem happening in 4.3dev (master), but worth checking if it's also happening in previous branches.

            pholden Paul Holden
            stronk7 Eloy Lafuente (stronk7)
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Ilya Tregubov Ilya Tregubov
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 45 minutes
                45m

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