Forum
Images disappearing in blog articles
Hi,
It seems that images randomly disappear on blog posts, while my client doesn't have access to delete them via the admin. I'm now on version 5.0 of the blog app. This happened while version 4.6 was running.
Is this a bug that is fixed in this new version? Can you help me avoid this from happening again.
Cheers, Veerle
Are the images uploaded into the body of the post, or via a dedicated image field?
Via a dedicated image field. I'm using blocks for the blog posts so my client can layout his page the way he likes. There are separate block items for different types of images : one that is big and central and one that is flush left or right.
Is there any action or trigger that causes it?
Not that I can figure out because it happened with images that are big and central and also with ones that are flushed left. There doesn't seem to be an obvious pattern. The only thing that is noticeable is that there was one image left on the post where 6 others where disappeared. When I looked in Google cache they seemed to have been gone since days after posting the articles. My client uploads the image via the 'Select or upload an image' link.
Ok, I think I might have found the bug - I'm just testing out my fix now.
Sorry about this.
Hi Drew, did you find the bug? Sure do hope so because this wasn't a pleasant experience explaining this to my client. Keep me posted when there is fix please.
Sorry, we had a rather busy day yesterday. I'm back onto testing this out today.
Try to fix asap please and make it a priority. I'm adding the images back right now. I didn't have them, so had to ask for them to my client. I'll back up the folder after I'm done to be safe. I'm also busy but I'm responsible for recommending Perch so I have to do this.
I appreciate it's important. Yesterday's mass security issue had to take priority.
I believe I've fixed the issue and I'm testing it. It's not just a case of reloading a page to see if it worked - the procedure is complex and takes a bit of time. I need to make sure that I don't rush a change out and break tens of thousands of sites in order to fix just one.
But I'm on it! Don't worry, it's what I'm doing today.
Here's the update: https://grabaperch.com/update/v2-8-18
Ok thanks. Glad you found it. Does this one also fix the Markdown link adding bug? I'm running v2-8-16 and the read me of your link only mentions "If updating from less than 2.8.15, copy over the perch/addons/plugins/editors/markitup folder to update the MarkItUp editor". So do I update Markdown too or is that included?
If you upgraded MarkItUp last time you don't need to do it again, if you have not already copied over MarkItUp please do so now.
Ok thanks. Installed it and it works.
Hi Drew, Rachel,
I'm afraid the bug isn't really gone. I have the same thing happening again: random images disappearing on the blog. Have to replace a lot of images on the blog that are jus gone out of the blue :(
Can you guys have a look again at this please? It seems not be solved yet I'm afraid.
Thank you. Veerle
Can we see the Diagnostic Report for this site now and your Blog post.html template?
Here is the Diagnostic Report:
here is the post.html template :
The issue is with logging image use - so it's possible you still have old images that weren't logged correctly in the past.
To stop any deleting, add this to your
perch/config/config.php
file:Hi Drew,
Thank you for the quick help. I've added the line. Hope it'll be solved this way.
Merry Christmas to you both :)
Warm Regards, Veerle