Closed holgerd closed 7 years ago
As far as I debugged this last time, the errors are triggered by a content management system that embeds the widget without a valid osm id/user.
Sent from my iPhone
On 6. Sep 2017, at 17:36, Holger Dieterich notifications@github.com wrote:
Since we get some airbrake errors which may Be linked to wrongly embedded widgets:
Can you get a list of URLs where it is embedded (maybe in referer logs?). Can you then lookup the wheelmap user (email / OSM Id) for each?
Other ideas regarding this are welcome.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
@holgerd There is already a ticket here where we listed platforms that still have the wheelmap widget implemented with empty api_key values in their source code.
We checked them again and all of them still have this corresponding part:
K.settings.wheelmap = {
active: true,
key: ''
};
There maybe more platforms that also use this kind of script. Need further checks.
Example (line 347-388): 'view-source:http://www.forst-baden.de/site/forst-baden/node/950441/Lde/index.html'
Full script:
<script>
var toggleMapnav = function() {
jQuery('#mapnav').toggle('slide', {direction: 'left'}, 500, function() {
var mapnavShow = jQuery('#mapnav_show');
jQuery(this).is(':visible') ? mapnavShow.addClass('open') : mapnavShow.removeClass('open');
});
};
jQuery('#mapnav_show').click(toggleMapnav);
jQuery('#mapnav').hide();
jQuery('#cmsmap .cmsmap_close').click(toggleMapnav);
K.settings.application = {
startLat: 49.15337,
startLong: 8.586950000000002,
searchStringAddition: ' , Forst Baden',
debug: false,
htmlid: 'map_950453',
elementid: '950453',
zoomlevel: 15,
baseImageUrl: '/site/forst-baden/resourceCached/9.2.1/'
};
K.settings.wheelmap = {
active: true,
key: ''
};
K.settings.servicebw = {
active: true,
baseUrl: '/site/forst-baden/map/950441/Lde/kontakt.html'
};
K.settings.zusatzmodule = [
{
active: true,
url: '/site/forst-baden/zmservice/3451/Lde/geo/data.json',
name: 'Firmen in Forst'
},
{
active: true,
url: '/site/forst-baden/zmservice/3750/Lde/geo/data.json',
name: 'Vereine in Forst'
},
]
K.start();
</script>
great thanks. So I close this as duplicate to https://github.com/sozialhelden/wheelmap-privateissues/issues/43
Since we get some airbrake errors which may Be linked to wrongly embedded widgets:
Can you get a list of URLs where it is embedded (maybe in referer logs?). Can you then lookup the wheelmap user (email / OSM Id) for each?
Other ideas regarding this are welcome.