• Resolved matifbutt

    (@matifbutt)


    I am a new user of this plugin.

    I downloaded different versions and tried but no success.

    Steps I did:

    1) Activate the plugin

    2) And add new marker.

    Message prompted:

    1) Marker has been successfully added

    2) [mapsmarker marker=”0″]

    But when I click on “list all markers ” nothing is displayed.

    As not any row inserted inside the table (wp_leafletmapsmarker_markers )

    I am using firefox, wordpress 3.3.1, and both themes, twenty eleven and twenty ten are tried. Also I have tried different versions of leaflet-maps-marker

    Any help please

    Regards
    Atif

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Strange. As I guess from your comment, the table wpleafletmapsmarker_markers and wp_leafletmapsmarker_layers exist in your wordpress database next to the standard wordpress tables right? (you can check that with phpmyadmin). Please also let me know if you are using the default prefix wp for your WordPress installation and if the rights your wordpress database user have been modified (e.g. not allowing creating new tables). I guess you are also not using WordPress multisite but a single installation, right?

    Thread Starter matifbutt

    (@matifbutt)

    Thanks for your quick response.

    both tables are created:
    wp_leafletmapsmarker_markers and wp_leafletmapsmarker_layers

    Only wp_leafletmapsmarker_layers table has one row already (by default one row entry)

    Default prefix is wp_

    yes single installation.
    Let me configure and fresh install the wordpress with your plugin, and send you the URL (shortly).

    Regards
    Atif

    Thread Starter matifbutt

    (@matifbutt)

    Hi
    Bellow is the testing URL for the leaflet with fresh install of wordpress 3.3.1 and leaflet

    http://216.58.43.167:7070/wordpress/wp-admin/

    You can browse it using username = admin pw= abcd

    I dont have any success uptil now.

    Regards
    Atif

    Thread Starter matifbutt

    (@matifbutt)

    Hi

    In relation to my problem mentioned previously.

    I have entered one row each manually inside the tables wp_leafletmapsmarker_markers and wp_leafletmapsmarker_layers.

    Now when i click “list all markers” and “list all layers” I can see the name of the marker and layers.

    I can use the short code to display the map inside the post etc.

    I can edit the marker (one which is created manually inside database tables)and layers attribute from the wp-admin interface, and that reflect the changes to database tables (wp_leafletmapsmarker_markers and wp_leafletmapsmarker_layers).

    Problems : I still cannot create any new marker and layer from the wp-admin interface.

    when I try to use the export all markers function from wp-admin I got this error message (The WordPress plugin Leaflet Maps Marker is inactive on this site and therefore this API link is not working).

    I think something is preventing me to enter values from the wp-admin interface to database tables (wp_leafletmapsmarker_markers and wp_leafletmapsmarker_layers).

    I dont have any success until now.

    Looking forward for your support.

    Thanks

    Atif

    Your database server doesnt seem to be very reliable – I can´t reach your site anymore. Try changing the following code by yourself in leaflet-marker.php:

    change

    <?php
    /*
        Edit marker - Leaflet Maps Marker Plugin
    */
    ?>

    to

    <?php
    /*
        Edit marker - Leaflet Maps Marker Plugin
    */
        global $wpdb;
        $lmm_options = get_option( 'leafletmapsmarker_options' );
        $table_name_markers = $wpdb->prefix.'leafletmapsmarker_markers';
        $table_name_layers = $wpdb->prefix.'leafletmapsmarker_layers';
    ?>

    then open leaflet-maps-marker.php and change

    function lmm_marker()
      {
        global $wpdb;
        $lmm_options = get_option( 'leafletmapsmarker_options' );
        $table_name_markers = $wpdb->prefix.'leafletmapsmarker_markers';
        $table_name_layers = $wpdb->prefix.'leafletmapsmarker_layers';
        include('leaflet-marker.php');
      }

    to

    function lmm_marker()
      {
        include('leaflet-marker.php');
      }

    then try adding a new marker and tell me if it worked.

    Try v1.4 and please tell me if this solves your problem (I changed some code for saving markers/layers to database)

    Thread Starter matifbutt

    (@matifbutt)

    Hi Robert
    Actually I was using the 1.4 now I shifted back to 1.3 and all the changes you mentioned, I have implemented but no success.

    Kindly check:
    http://216.58.43.167:7070/wordpress/wp-admin/

    Regards
    Atif

    Hi Atif,
    just released v1.4.1 which should finally fix issues with your host. Please let me know if it worked. BTW: you should change the admin login for the WordPress installation posted here – malicious users could easily get full access to the server your WordPress instance is running on.
    Regards,
    Robert

    Thread Starter matifbutt

    (@matifbutt)

    Hi robert,

    Actually I have already fixed with manual editing to my database tables of leaflet marker but I am glad that in version 1.4.1, you did it, and I dont need to any further manual editing.

    Good job
    Regards
    Atif

    Fine,

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Leaflet Maps Marker] Plugin Not Working to Add Marker’ is closed to new replies.