• Hello,
    First of all thanks for the plugin and I would appreciate any help.

    I have two problems. First one is that no markers are shown on the map.
    Checked all the problems reported on support forum and the solutions you gave, but none is corresponding to my case.

    Second problem is terribly slow loading.

    In admin, when editing marker or layer lmm_tinymce_shortcode.php and leafletmapsmarker-admin-tinymce.php both take more than 45sec to load and returning 0b.

    I disabled tinymce plugin in mapmaker settings, and then leaflet-geojson.php?layer=all took over.
    After 45 sec leaflet-geojson.php is returning 0b all spent on waiting.

    error log says

    [17-May-2013 12:38:02] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /Applications/MAMP/htdocs/mapmarker.dev/assets/plugins/leaflet-maps-marker/leaflet-geojson.php on line 7
    [17-May-2013 12:38:02] PHP Stack trace:
    [17-May-2013 12:38:02] PHP 1. {main}() /Applications/MAMP/htdocs/mapmarker.dev/assets/plugins/leaflet-maps-marker/leaflet-geojson.php:0
    [17-May-2013 12:38:02] PHP 2. is_dir() /Applications/MAMP/htdocs/mapmarker.dev/assets/plugins/leaflet-maps-marker/leaflet-geojson.php:7

    I incrased max_execution_time to 180sec but it only waited for >180sec

    Site i am testing your plugin is on localhost so i cannot share.

    I have no active plugins besides MapsMarker and i use TwentyTwelve theme, php is version 5.2.17

    thanks a lot

    http://wordpress.org/extend/plugins/leaflet-maps-marker/

Viewing 3 replies - 1 through 3 (of 3 total)
  • mhhh – difficult without being able to have a look at it.

    concerning slow loading issue – could you please change leaflet-geojson.php line 7 from

    if(is_dir('../')) chdir('../');

    to

    if(is_dir('..' . DIRECTORY_SEPARATOR)) chdir('..' . DIRECTORY_SEPARATOR);

    and report if this did help improving speed?

    Regarding lmm_tinymce_shortcode.php and leafletmapsmarker-admin-tinymce.php I dont have an idea yet.
    best,

    Robert

    Thread Starter tatamata

    (@tatamata)

    Robert, thumbs up. changing line 7 solved slow loading.

    Regarding markers not showing, i forgot to tell you that the list of my WMS layers is also not showing. it just stacks all wms layers.

    Great to hear! Change from line 7 will be included in all files in v3.6 (not just leaflet-geojson.php is using this to load wp-config.php).

    Regarding markers not showing: I am not sure what you mean by that. Could you post some screenshots?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘leaflet-geojson hangs’ is closed to new replies.