Viewing 8 replies - 1 through 8 (of 8 total)
  • please try switching to another theme like twentytwelve to verify if that is caused by a theme conflict…

    Thread Starter daniish

    (@daniish)

    I have installed and activated twenty twelve theme – the problem still persists!

    Thread Starter daniish

    (@daniish)

    I have installed and activated the theme twenty twelve, however, the problem still persists.

    Please turn on wp debug and also have a look into the php error log as well as the browser console when viewing the map to see if there are any additional error messages or warnings which might give a clue what is happening on your site. Also try re-uploading the current package via ftp, overwritting all existing files and check (for example together with your hoster) if any special file or folder permissions are set on your server which could cause this issue…

    Thread Starter daniish

    (@daniish)

    I checked the error console and found:

    Uncaught SyntaxError: Unexpected token ILLEGAL (index line 403)

    line 403:

    var osm_mapnik = new L.TileLayer(“https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png”, {maxZoom: 18, minZoom: 1, errorTileUrl: “http://heavenly.globexposure.net/wp-content/plugins/leaflet-maps-marker/inc/img/error-tile-image.png”, attribution: “Map: © OpenStreetMap contributors (edit)”, detectRetina: true});

    Does that mean anything to you?

    Thread Starter daniish

    (@daniish)

    In Internet Explorer the error console says:

    SCRIPT5: Access is denied.

    Strange thing is that in the source code a line break after your blog url for the parameter errorTileUrl gets added – can you have a look into WordPress Settings / General if the options “WordPress Address (URL)” and “Site Adress (URL)” are correct and have any special or hidden chars at the end of the string? (which could result in that linebreak, as the errorTileUrl is generated from plugin_dir_url() function)

    Thread Starter daniish

    (@daniish)

    OK so i altered the Site Address (URL) and now it all seems to be working fine.

    Thanks for your help

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Loading map – please wait…’ is closed to new replies.