By Rik Brown on Saturday, 14 December 2019
Posted in Technical Issues
Replies 12
Likes 0
Views 706
Votes 0
We import quite a few blogs via RSS (sometimes 80+ postings per day). Sometimes, we receive a posting that is supposed to have an image but, for whatever reason, the image was not received. So we end up with a broken image link in the blog posting and the blog module.

I can manually edit the image out of the blog listings but that is a lot of trouble. I first have to notice the broken link and then edit the post.

Is there a setting that would make sure that if an image is not received that the link for it doesn't get embedded in the post?

Thanks. -- Rik
It seems like I was unable to access your site backend, it keep redirect me to your site homepage.

Perhaps you can share with us which RSS feed URL page imported those broken image so we can better have a check?

And share with us which blog title as well so we can check this in locally.
·
Saturday, 14 December 2019 10:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, Arlex

Thank you for looking at this issue.

It seems like I was unable to access your site backend, it keep redirect me to your site homepage.

Usually that happens if the system generates a 500 server error (it redirects to a static index.html file so that our system [travel reservations] still remains operating for our customers). I've temporarily disabled the Akeeba Admin Tools which normally does that.
Perhaps you can share with us which RSS feed URL page imported those broken image so we can better have a check?

If you check out the incoming RSS feed here from a particular vendor (L.A. Times), I don't think that we ever receive their images (perhaps they are blocking them) but the image links are still embedded in the blogs as broken links.

I was hoping that I could just disable the option "Import Image Enclosure As Post Cover" and that would fix it, but it doesn't.

Anyway, I end up with a lot of broken image links in the blogs.

Is there a way to fix this so that I don't get those embedded broken links?

Thank you. -- Rik
·
Monday, 16 December 2019 09:27
·
0 Likes
·
0 Votes
·
0 Comments
·
This option "Import Image Enclosure As Post Cover" only determine that whether you want to make the first blog image import into Easyblog as that post cover.

By the way, it seems like that is bug, I've applied some fix into your site regarding this file JoomlaFolder/administrator/components/com_easyblog/includes/feeds/adapters/mapper.php, can you try monitor again is it can import the correct image now?

But this fix only will affect on your new import feed, unfortunately that is not possible to fix those existing broken image.
·
Monday, 16 December 2019 11:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Arlex:

But this fix only will affect on your new import feed, unfortunately that is not possible to fix those existing broken image.


1) Sad to report but the issue with that news feed is continuing.

2) Also, you mentioned that it is not possible to fix the past broken images. But is there a table.field that I can edit (or perhaps run a query against) so that I can manually remove those broken image links as I don't want a lot of broken links on the site.

Thanks. -- Ri,
·
Friday, 20 December 2019 06:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Rik,

We might need your help to disable that Akeeba admin tool again? Because I getting this when I trying to access your site backend.


Akeeba: Our system has automatically determined that you are a spammer, hacker or other such entity.


2) Also, you mentioned that it is not possible to fix the past broken images. But is there a table.field that I can edit (or perhaps run a query against) so that I can manually remove those broken image links as I don't want a lot of broken links on the site.

This will be difficult to correct this from database because most of your feed image name is not using the short name, the reason why it caused this problem is because our code stripped these symbol (?#) which contain into your feed image.

I would suggest that temporary stop your feed importer first, after we fixed this correctly then re-import everything again.

What do you think?
·
Friday, 20 December 2019 12:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Good Arlex that you fix this issue
·
Saturday, 21 December 2019 19:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Arlex:

This will be difficult to correct this from database because most of your feed image name is not using the short name, the reason why it caused this problem is because our code stripped these symbol (?#) which contain into your feed image.

I would suggest that temporary stop your feed importer first, after we fixed this correctly then re-import everything again.

What do you think?


Okay. I've unpublished the feeds in the feed importer (which I assume that stops them).

I'll await a fix. But as I mentioned above:

Also, you mentioned that it is not possible to fix the past broken images. But is there a table.field that I can edit (or perhaps run a query against) so that I can manually remove those broken image links as I don't want a lot of broken links on the site.


I'm guessing that I have quite a few hundred broken links to deal with. If I can't remove the broken image links, I'll probably have to delete all of those since they go months back in time and I probably can't re-import them.

Thanks. -- Rik
·
Saturday, 21 December 2019 23:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Rik,

Remember disable your admin tool or some of the setting on tomorrow morning so we can check on your issue when we reach office tomorrow.

I'm guessing that I have quite a few hundred broken links to deal with. If I can't remove the broken image links, I'll probably have to delete all of those since they go months back in time and I probably can't re-import them.

Yes, that is no way to delete only that broken image through the database.
Perhaps you can share with us which blog post you would like to delete it? Or you can delete it by yourself regarding this?
·
Sunday, 22 December 2019 11:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Arlex:

1) I've disabled to Admin Tools now.
2) If I can't remove the broken links via the database, I assume that they are stored somewhere within the blog text (?). If so, I should probably be able to write a query to remove that link from the text? Otherwise, I assume that if I delete the feed & category (to start anew) that should delete all the blogs and the references to any missing links?

Thanks again. -- Rik
·
Sunday, 22 December 2019 15:45
·
0 Likes
·
0 Votes
·
0 Comments
·
It seems like I still hitting this warning when I access your site backend :


Akeeba: Our system has automatically determined that you are a spammer, hacker or other such entity.


This is my current IP address : 60.51.108.192


2) If I can't remove the broken links via the database, I assume that they are stored somewhere within the blog text (?). If so, I should probably be able to write a query to remove that link from the text? Otherwise, I assume that if I delete the feed & category (to start anew) that should delete all the blogs and the references to any missing links?

Yes, if you delete the feed and category from backend, it will remove everything which related with that post.
·
Monday, 23 December 2019 12:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Arlex:

I've disabled the Admin Tools again for a couple of days.

Sorry, about that. -- Rik
·
Monday, 23 December 2019 19:52
·
0 Likes
·
0 Votes
·
0 Comments
·
I got applied some fix into this file again on your site, can you give it a try import those RSS feed and see whether it import correctly for the image?
JoomlaFolder/administrator/components/com_easyblog/includes/feeds/adapters/mapper.php
·
Tuesday, 24 December 2019 12:32
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post