• Resolved bileif

    (@bileif)


    Hello,

    when I activate the plugin Complianz, the map of the OSM OPlugin is no longer displayed. Apparently the loading of a library is prevented:

    Uncaught ReferenceError: ol is not defined
        at getTileLayer (osm-v3-plugin-lib.js?ver=1.0.0:212)
        at (index):249
    complianz.min.js?ver=5.5.2:1 opt-in
    DevTools failed to load SourceMap: Could not load content for https://bi-frankenau.de/sammlung-altpapier-unterstuetzung/ol.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    DevTools failed to load SourceMap: Could not load content for https://bi-frankenau.de/wp-content/plugins/osm/js/OL/6.9.0/ol.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

    As described in another topic I diasbled OSM integration. But this has no positive effect. What can I do, please?

    Greetings, bileif

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @bileif,

    Besides the service integration, do you also have a plugin integration for OSM enabled? Because when I have look on https://bi-frankenau.de/sammlung-altpapier-unterstuetzung/?cmplz_safe_mode (Safe Mode Enabled). This should work.

    regards Aert

    PS: We will have a look at the dependency error. If you’re comfortable with the script center you can enable the integration and add this to the script center; osm-v3-plugin-lib.js ass a URL to be blocked prior to consent.

    Thread Starter bileif

    (@bileif)

    Hi Aert,

    thanks for your hint.

    Integration OSM was previously enabled, now disabled, no positive effect.

    Adding osm-v3-plugin-lib.js to the script center: no effect, OSM still empty.

    Regards, bileif

    Hello everyone,
    unfortunately I also use the “Complianz / OSM” combination on several websites, so that the map is no longer displayed. Help would be great, thank you very much!
    Greetings printe

    Plugin Contributor jarnovos

    (@jarnovos)

    Hello @printe @bileif,

    This has been fixed in the 6.0 version of Complianz, to be released very soon.

    For now, if you are using version 5.x of the plugin and are comfortable replacing files yourself: you can replace the osm.php file located at /plugins/complianz-gdpr/integrations/plugins/ with the one found here: https://gist.github.com/jarno-vos/c4de8d7e6418749a15690e93393ff68c

    Kind regards,
    Jarno

    MiKa

    (@photoweblog)

    Hello @jarnovos ,

    I have never installed Complianz and I do not know how the fix is working, but looking at the link you have posted I could see, that you are operating based on the function getTileLayer including the arguments. These arguments are created based on the shortcode. In your fix it was used for an “OpenStreetMap” map, but there are several other tileservers provided by the plugin. So it could also look like getTileLayer("opentopomap", ...
    You can contact me here:
    https://wp-osm-plugin.hyumika.com/contact/
    to discuss it in more details and if you send me a full beta version I can also test it on a local machine.

    Br Michael
    (OSM Plugin developer)

    Thread Starter bileif

    (@bileif)

    Hello @jarnovos,

    thanks a lot. For me it works.

    Greetings,
    Ingo

    Plugin Contributor jarnovos

    (@jarnovos)

    Hey @photoweblog,

    Thank you for replying here.

    I’ve sent you an email containing more details, as well as an updated version of this integration that should work for the other TileLayer variations as well.

    Kind regards,
    Jarno

    MiKa

    (@photoweblog)

    Hello @jarnovos

    we have tested also the other tile servers with the link you have provided – it works great with V6.0.

    Thanks for the integration!

    Br, Michael

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Complianz prevents loading a library of OSM Plugin’ is closed to new replies.