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?
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
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
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)
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
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