Important - Hands Up!
- Please ask using the account with which you made the purchase or download of our products and in its respective category.
- If you bought our products in another market, ask your questions in that market, not here.
* ADD PRODUCT NAME IN START OF SUBJET
Joomstagram - mod_ut_joomstagram_3.0.0: error 0 - Could not resolve host: graph.instagram.com
- P
- phulst New Member
- Topic Author 2 years 10 months ago #1
When Facebook was unreachable, the Joomla website crashes with the message:
0 - Could not resolve host: graph.instagram.com.
Is it possible to sove that in helper.php, that when the host is not there, nothing is displayed instead of a crash with : 0 - Could not resolve host...
You can simulate this behaviour with helper.php, line 27 change $media_url: instagram.com --> instagrammmmmmm.com
Thanks you!
Regards,
Peter
Please Log in or Create an account to join the conversation.
- L
- leoalv Moderator
- 2 years 10 months ago #2
Okay, we will go through that, but for now the best solution is to change display errors in general Joomla settings to Simple or none.
Please Log in or Create an account to join the conversation.
- P
- phulst New Member
- Topic Author 2 years 10 months ago #3
Thanks for your reply, but your solution (simple or none display error) does not help. It still breaks the website.
Best regards,
Peter
Please Log in or Create an account to join the conversation.
- L
- leoalv Moderator
- 2 years 10 months ago #4
Or why is this error or message getting to you?
We have to understand the scenario before making changes or configuring messages
Please Log in or Create an account to join the conversation.
- P
- phulst New Member
- Topic Author 2 years 10 months ago #5
Last month, all FaceBook websites including Instagram were off-line due to a DNS problem with Facebook.
It would be a pity if your website breaks then, when it only wants to display a few images.
So my website was broken and I was not aware of the consequences of this offline Instagram for my website.
Regards,
Peter
Please Log in or Create an account to join the conversation.
- L
- leoalv Moderator
- 2 years 10 months ago #6
we listen to suggestions.
Please Log in or Create an account to join the conversation.
- P
- phulst New Member
- Topic Author 2 years 10 months ago #7
However: that is not always possible (in case the webmaster is not available).
In my opinion a broken external link (Instagram), should not break the website.
So I have the following suggestions:
1. As you already mentioned: an extra check if website (Instagram) is online. The performance reduction is of less importance compared to a broken website.
2. Make the extra check optional in the module configuration. So the user can select it or not.
Regards,
Peter
Please Log in or Create an account to join the conversation.
- L
- leoalv Moderator
- 2 years 10 months ago #8
Thanks, and luck.
Please Log in or Create an account to join the conversation.
- P
- phulst New Member
- Topic Author 2 years 10 months ago #9
Thank your all quick replies.
Regards,
Peter
Please Log in or Create an account to join the conversation.