The image was deleted automatically after 6 hours
Submitted by maheswarim on Wed, 06/21/2017 - 08:02
Forums:
Hi,
I have configured the h5p in my Drupal site. Using H5P created the one video interaction. In the video / Presentation, I have added one image. After 6 hours image was disappear automatically. Analyzed the code, but unable to find the root cause. Anyone help for me?
Image was stored in this path:
http://sitename/sites/default/files/h5p/content/12/images/file-594a0c45b...
Summary:
Image was deleted automatically after 6 hours
tomaj
Wed, 06/21/2017 - 08:19
Permalink
Strange...
There is some code that is supposed to run on cron, that will delete uploaded files, when the node they were attached to wasn't created, or deleted. But it would be very odd if you are loosing real content trough that.
- Tom
fnoks
Wed, 06/21/2017 - 10:02
Permalink
Hi,This sounds like a serious
Hi,
This sounds like a serious problem. I have created an issue for this here: https://h5ptechnology.atlassian.net/browse/HFP-1207, and given it the highest priority!
fnoks
Thu, 06/22/2017 - 10:47
Permalink
Hi,I have tried reproducing
Hi,
I have tried reproducing this, but am not able to. It would be great if you can answer the following questions:
clemontrealwebmaster
Sat, 12/15/2018 - 23:18
Permalink
Similar issue
I have a similar issue.
I am using course presentation in a Wordpress environment. Sometimes using the drag and drop module, sometimes the image one.
After creating a presentation and looking at it everything seems in order. However, often when I check on it a day or two later it has missing images and audio files. I look on the server and the images are indeed not in the folder of the activityID. I have not detected a timeframe or why this happens.
I am attaching a screenshot and a link to such activity.
http://www.clemontreal.org/fr/exercice-h5p/le-son-e-avec-la-lettre-e-eco...
I have others I created last year but I did not use presentation for any of them and all images are still there. But I do not know if its really link to the presentation, my server (web costing canada) or the H5P plugin.
If anyone has suggestions or solutions please share, I have a total of 120 of tehse to make and so far I have had about 10/30 with this issue.
Thank you!
icc
Tue, 12/18/2018 - 10:00
Permalink
Hi,Which version of the
Hi,
Which version of the plugin are you running? Please make sure that you're running the latest version.
clemontrealwebmaster
Tue, 01/22/2019 - 20:15
Permalink
Version 1.11.3
Sorry I did not see your reply.
I am currently running Version 1.11.3.
Any text or non file related changes persist. Png or mp3 uploads are the problem.
I just noticed that if I download the broken activity (from my site) and then reimport it again (to my site or to h5p.org) it works fine. Therefore, the export file seems to be good but for some rason the actual activity seems to either keep the old png or mp3 paths or the old mp3 or png files.
Thank you
clemontrealwebmaster
Tue, 01/22/2019 - 22:31
Permalink
More details
Hi I have a few more details that might help
The export/import method did not work for all faulty activities so I did some testing.
The problem occurs very often but on random days and is hard to reproduce but here is what I found today:
I have an image I added a few days ago. I can see it in the browser and in the resource folders in the browser dev tools. But if I look the same directory on my server, the file is not there. Naturally when I clear my cache the image is no loger found in the browser either.
So it seems that when I upload a media file, it gets cached but not actually uploaded on my server (cpanel based shared hosting from whc.ca). So I wonder if that issue is related to the H5P plugin and its compatibility with my WP installation or server environment or it is caused by a faillure of my server to save the files.
Obviously when I called my server provider they say its plugin related but I wonder if it is possible that my hosting simply fails to save the files sometimes due to issues or increased load, in which case its weird that there is no error message to let me know what is going on.
Thank you
icc
Mon, 04/01/2019 - 10:26
Permalink
Are you still having issues
Are you still having issues with this?
thisismx
Thu, 05/09/2019 - 15:55
Permalink
i do have the same problem on
i do have the same problem on my page but only when using the element "Multiple Hotspots". I cant really grasp what exactly happens, but every other day some images get deleted from '/wp-content/uploads/h5p/content/CONTENT_ID/images/backgroundImage-ID_OF_IMAGE.png'. when this happens we have to upload the image and set the hotspots again... i have absolutely no idea, what causes this as there are no logs or something. the image also gets referenced in the H5P Element Editor with the URL it used to have but the requests ends in 404, because the image is not on the server anymore. (Please see image attached and note the incomplete request to the image in the browser console on the right)
is there any way you can help me out / point me in the right direction?
i am using H5P Wordpress Plugin (1.11.1).
thisismx
Thu, 05/09/2019 - 15:56
Permalink
i do have the same problem on
i do have the same problem on my page but only when using the element "Multiple Hotspots". I cant really grasp what exactly happens, but every other day some images get deleted from '/wp-content/uploads/h5p/content/CONTENT_ID/images/backgroundImage-ID_OF_IMAGE.png'. when this happens we have to upload the image and set the hotspots again... i have absolutely no idea, what causes this as there are no logs or something. the image also gets referenced in the H5P Element Editor with the URL it used to have but the requests ends in 404, because the image is not on the server anymore. (Please see image attached and note the incomplete request to the image in the browser console on the right)
is there any way you can help me out / point me in the right direction?
i am using H5P Wordpress Plugin (1.11.1).
everfit
Thu, 07/18/2019 - 17:33
Permalink
Having same issue
I am having the same issue using both Course Presentation and Find Multiple Hotspots. Please advise how to fix
jose.martin
Thu, 08/22/2019 - 13:36
Permalink
Same problem here
Some images files in course presentations are deleted. I cannot reproduce the problem. We are using H5P Wordpress Plugin 1.13.1
nitinmadeshia
Wed, 11/20/2019 - 07:38
Permalink
Image Disappeared on Course Presentation
We are using Wordpress environment with latest H5p plugin. This happened after we made a copy of the course presentation. We are not sure if it happened due to same reason.