Hi John,
there seems to be something wrong with the plugin directory – at least the geojson api endpoint needed for loading markers at http://www.allinonecontractingservices.com/wp-content/plugins/leaflet-maps-marker/leaflet-geojson.php?layer=all&callback=jsonp&full=yes&full_icon_url=yes is not found. Are you using some special wp-content or plugins directory settings?
best,
Robert
Hi Robert,
Are you using some special wp-content or plugins directory settings?
>> Not that I am aware. Is there an edit I can make?
Thanks,
John
Hi John,
I assume that you either use some security plugin or your hoster has added some security configuration on your server that prevents direct access of PHP files with the plugin directory. Anyway this is needed for markers to load properly on layer maps.
http://www.allinonecontractingservices.com/wp-content/plugins/leaflet-maps-marker/leaflet-geojson.php?layer=all should be accessible but isnt.
Try either disabling the security plugin/changing according settings or ask your hoster for assistance here.
best,
Robert
Robert,
Are you saying that file should be writable? Please advise and I’ll pass the info to my host.
Thanks again!
John
not writeable, readable for everyone
Ok, let me see what happens…
We got it resolved. Here is the answer…
The block was being caused by an htaccess file (local Apache configuration file) that was set to block all access to PHP files with the following code:
<Files *.php>
deny from all
I disabled this block and the marker appeared
Thank you for your help!
John
great to hear that you could solve the issue!
happy mapping 🙂