• Resolved atectoncom

    (@atectoncom)


    Hello i have problems loading page on mobile(chrome on android and iphone safari test). The page is good set in chrome browser. Page name is atecton.com/locatii. Thanks !

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @atectoncom
    Thank you for using the plugin!

    There’s a javascript error on your page preventing the map from loading properly.
    Most likely it’s coming from another plugin and the fact that your JS files are minified and merged make it difficult to find the source. When you’re logged in, you don’t see the minified code, so the error doesn’t occur.

    You will need to temporarily disable the minify/cache plugin to track down the error https://ww.wp.xz.cn/support/article/using-your-browser-to-diagnose-javascript-errors/

    You can try to exclude the map files from being minified/merged, if your plugin allows it. Here are instructions for wp-rocket, it should be similar in other plugins: https://interactivegeomaps.com/docs/using-wp-rocket-and-interactive-geo-maps/ but not sure doing this will be enough, but you can try it.

    You can also try to disable some plugins to see if you find which one is causing the issue.

    Hope the information helps.
    Greetings, Carlos

    Thread Starter atectoncom

    (@atectoncom)

    Hello,
    Thanks for the the answer Carlos.
    I use litespeed cache plugin. If i disable the plugin the map is working on mobile.
    Unfortunately i did not figure out how to exclude interactive geo maps plugin while using litespeed cache!

    I add this to exclude:
    /wp-content/plugins/interactive-geo-maps/(.*).js
    interactive-geo-maps_amcharts_core-js
    interactive-geo-maps_amcharts_maps-js
    interactive-geo-maps_amcharts_animated-js
    interactive-geo-maps_romaniaHigh-js
    app.min.js
    interactive-geo-maps_map_service-js`

    Have a good day !

    • This reply was modified 4 years, 7 months ago by atectoncom.

    Hi @atectoncom
    One approach could be to exclude the page where you have the map from caching, in the Cache > Excludes options.

    But looking at the Litespeed cache documentation, if you simply write
    amcharts
    in the Page Optimization > Tunning > Exclude JS field, it should be enough.
    Check if that works.

    Greetings, Carlos

    Thread Starter atectoncom

    (@atectoncom)

    Hello and thanks for the response Carlos.
    I add amchart to be exclude in js field and is working now on mobile.

    Thanks for the support. You develope a great plugin.
    Have a good day !

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

The topic ‘Romanian map on mobile’ is closed to new replies.