Hello,

I'm not sure when, but every day after a certain amount of time has passed, I notice that my little helper image has gone missing. I then have to re-upload it and save the settings again to make it come back. For example, I could have gone to bed to sleep, and the following morning when I go to my browser and see my site, reload for new possible content and with that reload the little helper image will not be there anymore.

Are you aware of this happening? Do you know a possible cause or cure?

Using latest drupal 7.24 and little helper 7.x-1.0. My little helper image is a PNG file.

Other images on the site does not vanish in the same way. I have a node gallery which behaves without any issue like this.

Thank you.

Comments

Aonoa’s picture

I'll just add that cron is set to run every hour in Drupal's settings, and does not seem like a suitable culprit. I tried running the cron manually just now as well, and the helper image did not disappear.

Aonoa’s picture

It seems to take approx 7 hours for the little-helper image to get deleted. It is deleted from the "/sites/default/files/little_helper_chatter_images/" location, going on the server to check with ssh just shows me an empty directory.

Once I re-upload the helper image, I can see on the server that it is placed into the aforementioned directory. Therefore I know I have the correct location, which correlates to where my browser says the image is located as well.

It is quite odd, seeing as there are images in other "/sites/default/files/" sub-folders there which do not get deleted. Therefore I reckon it has to be some bug in the module.

I am going to try copying some random image into the "/sites/default/files/little_helper_chatter_images/" folder to see if everything put in there get's deleted.

File permissions seem ok.

Aonoa’s picture

The image I put in the directory manually on the server did not get deleted, but again the helper image is deleted seemingly accurately 7 hours after the upload. I've now removed write permissions on the image, to see if that at least prevents it from being deleted.

captainpants’s picture

Assigned: Unassigned » captainpants

That is a very strange bug. I'll test it on my end and see what I come up with. Thanks for the detailed description.

captainpants’s picture

Status: Active » Closed (fixed)

I've resolved this issue with the new 7.x-1.1 release. Update the module as you regularly would and then re-upload the little helper image. Thanks again for spotting this issue.