• Resolved dineshmob

    (@dineshmob)


    Hi,

    I am using smart slider 3 Version 3.5.1.7. and created a slider for home page. Slider is displaying fine but sometimes images does not load over the slider. After investigation of the issue i found that images are loading with ip address and due to that in console there are errors coming “resoure:net::err_cert_authority_invalid”. and this is the reason images not loading.

    Please take a look and do the needful on urgent basis.

    Thanks
    Dinesh Pal

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Laszlo

    (@laszloszalvak)

    Hi @dineshmob

    I think the problem is caused by that your site is accessible over both the IP domain and over the actual domain name, and someone edits your slider over the IP domain.

    What you need to know is that, Smart Slider 3 works from cache and once the cached HTML was generated, the slider will keep displaying the results coming from that cache.
    So if the cache was generated on the IP domain, then the resources in the HTML will point to the IP domain, too until the cache expires ( dynamic slides ), or you manually clear it:

    Translating your IP domain to the actual domain name:

    could probably fix your problem, but generally you should avoid making modifications on the IP domain, if you already have a domain name with a valid SSL, as you can cause similar problems for other plugins with some sort of caching, too.

    Best regards,
    Laszlo.

    Thread Starter dineshmob

    (@dineshmob)

    Hi @laszloszalvak ,

    We never used ip to access the website and modify any changes over website so we don’t have the case that you mentioned above.

    Also i have been cleared cache so many times but issue is still there so cache is also not the case in our scenario.

    Now i want to share one more use case where you have to pay attention. Suppose that image not loading on the slider then i have to open slider in edit mode and just click on save button without any changes and issue resolved temporarily. And after one day or two days or some interval issue occurred again. and again i have to do the same process to resolve this issue temporarily.

    And this issue i am facing since long time so there is no matter of cache.

    Please let me know what we can do now.

    Thank you

    Plugin Support Laszlo

    (@laszloszalvak)

    Hi @dineshmob

    It is not the cache of your site, but Smart Slider 3 has its own caching for the sliders, so whenever we display a slider we don’t have to run all the long database requests, but we can display an earlier cached HTML of the slider, which can improve the loading times of the sliders.
    So clearing only the cache of your site won’t solve this problem, since the slider itself will still be served from our cache.
    When you save a slide or if you clear our cache at our Global Settings:
    https://smartslider.helpscoutdocs.com/article/1783-general#clear-cache
    this cache gets cleared, so will regenerate the cache that’s why it solves the problem, since at that moment your cache will be generated using your domain, not on the IP domain.

    So actually it seems that at some point your site will be accessed from the IP domain, and as I mentioned above, we will generate the cache on that, so we will save that cached HTML into your database and will keep displaying that HTML until the cache of the slider gets cleared.

    I would suggest you to check your

    • WordPress Address (URL)
    • Site Address (URL)

    at WordPress > Settings > General if they are fine or not.

    Normally those 2 fields should be editable. If they are not editable, then maybe your site has these values defined somewhere (in most cases they are defined in the /wp-config.php file ) in a way, that they will always point to the domain that your site is accessed from, and that could be the cause of the problem. Since if your site is reached from the IP domain, then WordPress will return that when we ask down the site url while we are generating the cache.

    If this didn’t help you in resolving the problem either, then when your problem occurs again, please leave your site as it is, then get in touch with use directly over the ticket system:

    In your ticket send us a link of the page, where we can see the problem.

    Best regards,
    Laszlo.

    Thread Starter dineshmob

    (@dineshmob)

    Hi @laszloszalvak ,

    Here is the link and currently issue are there. You can take a look.

    https://stg-2x.mimik.com/.

    Also just want know you that on general -> settings both URL field is not editable.

    and in config.php the following value set..

    define(‘WP_SITEURL’, ‘https://’ . $_SERVER[‘HTTP_HOST’] . ‘/’);
    define(‘WP_HOME’, ‘https://’ . $_SERVER[‘HTTP_HOST’] . ‘/’);

    Now please let me know what changes i need to do now.

    Also i always cleared the smart slider 2 cache not our cache. Just for your info.

    Thanks

    Ramona

    (@nextend_ramona)

    Hi @dineshmob

    The problem on your site is that the images are comging from an IP domain:
    http://35.162.107.53/wp-content/uploads/2022/06/banner-wipro-406×465-1.png
    This domain doesn’t have SSL, while your main site does and for security reasons browsers generally don’t allow loading http assets into https sites.

    I think someone is using the IP domain to make edits to your site. The reason I suspect that is because with the WP_SITEURL and WP_HOME definitions you’re basically telling WordPress that when it is asked to tell the site URL, it has to answer the whatever was entered to the URL bar. This can result WordPress incorrectly answering the site URL in certain cases.

    Our slider works from cache, which is generated when you make changes to it. The cache basically generates the HTML codes needed to display the slider, so that doesn’t need to happen at every page load.
    When we generate the cache for the slider, we ask down the current site URL from WordPress. So if you access your site’s admin area from the IP domain, WordPress will tell us that the current URL is the IP domain. But if you edit the site via the mimik.com subdomain, WordPress will tell us that the current site URL is stg-2x.mimik.com.

    What I recommend is making sure that your site can only be accessed through one URL, your actual site link. (The stg-2x.mimik.com URL.) The IP domain should redirect to this domain. This way whoever tries to edit the site via the IP domain will be redirected to the correct URL and WordPress will always know and tell plugins like us us the correct URL. So basically, you shouldn’t allow people to edit (or perhaps even access) your site using the IP domain. But this change needs to be done outside Smart Slider.

    From our end the only possible option that could help solving the issue is using the Translate URL option at Global settings > General:
    https://smartslider.helpscoutdocs.com/article/1757-moved-site#translateurl
    to change the links:
    – from 35.162.107.53
    – to stg-2x.mimik.com
    Just make sure you update the URLs when you go live.

    Hello,
    I’m on version 3.5.1.7, I can’t create a new project or edit the old ones. That could be happening?

    Plugin Support Gabor

    (@nextendweb_gabor)

    Hi @jgpuca!

    This kind of problem can happen when there is a JavaScript error happening on the admin area. You should use Chrome or Firefox to figure out the problem -> go to the admin area, where the problem happens -> press F12 -> click on Console -> refresh the page. This should write out an error message, which could point to a plugin. If you recognize a plugin, you could try to deactivate that and check again. But if the error points to your theme or to our plugin, or you are not sure where it points to, please send me a screenshot of the Console messages:
    https://smartslider3.com/contact-us/support/?topic=Other&platform=WordPress&version=Free&website=website-yes&send-screenshot=sreenshot-yes&slider-export=slider-no

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Slider image not loading’ is closed to new replies.