• The markers are not showing, giving 404, in Chrome or Firefox on DESKTOP (even incognito mode).
    Safari DESKTOP works well, as does MOBILE for Chrome and Firefox.
    They aren’t showing up either in the Settings in Admin.
    Using: Astra Child Theme.

    The markers are definitely in the file system with correct permissions.

    Siteground host has mentioned there are no errors on their end and that it is a plugin issue.

    Even with Siteground plugin disabled + Cloudflare caching in Developer mode (off) it still behaves like this.
    I’ve disabled security plugin too.
    Unchecked the 2 options:
    – Attempt to auto-locate the user
    – Load locations on page load

    e.g. in developer console:
    /wp-content/plugins/wp-store-locator/img/markers/[email protected] 404
    /wp-content/plugins/wp-store-locator/img/markers/blue.jpg

    Cannot access: https://MYDOMAIN.COM.AU/wp-content/plugins/wp-store-locator/img/markers/[email protected]
    or
    https://MYDOMAIN.COM.AU/wp-content/plugins/wp-store-locator/img/markers/blue.jpg

    I’m at a loss as to what to do further.
    Please provide assistance.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    If I check the http code here, then it does show 200, so the file itself is indeed accessible.

    It does show Cloudflare headers here, so not sure if it’s still disabled, but maybe that ( Cloudflare ) has something to do with it not working. If you disable Cloudflare, and make sure the headers are gone here. Does that make a difference?

    There’s nothing in the plugin itself that would break this though.

    Thread Starter clickingclients

    (@clickingclients)

    Thank you. Hmm that is weird that it is present in some browsers and just blocked (404) in others.

    With cloudflare disabled (as mentioned) it still doesn’t work as above.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    It’s a strange issue, but I never heard of it before, and there’s no code that would selectively block access to marker images in the plugin. It doesn’t do anything with file permissions at all.

    It’s actually not that weird since some browser may or may not deal with cache in different way. And even though you disable it, that doesn’t always mean it’s flushed correctly from every proxy / cdn server that loads the files, same for the used browser.

    When I checked the image file it still contained Cloudflare headers, so I would look into that direction. The image itself loads fine when I try it through a site like httpstatus, so it’s not the plugin that’s the issue it.

    It’s very very likely stuck in cache somewhere, and that in some browser it tries to load it from the wrong Cloudflare CDN ( the 404 ) or so. I can’t be 100% sure, but that’s what I suspect is going on here. Cache can be very stubborn and hard to remove sometimes.

    • This reply was modified 4 years, 3 months ago by Tijmen Smit.
    Thread Starter clickingclients

    (@clickingclients)

    Yes you are right. The fact it works and loads the images in some browsers means the plugin is working well.
    The image when targeted by itself and not loading on the website is a weird thing.
    I even tried switching to jpg to get around a known issue occasionally with Cloudflare.
    I’ll keep pursuing the cloudflare option and see what I can come up with.

    Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Markers not visible (404) in Chrome/Firefox – visible in Safari’ is closed to new replies.