- This topic has 17 replies, 3 voices, and was last updated 3 years, 1 month ago by wagnerantunes84.
September 5, 2017 at 1:50 am #30144wagnerantunes84Member
the map normally appears on the front end.
Buuuuuutttttt, but for me to configure better and do everything I need, add all features. this happens in the backend
When i use plugin google maps Free,
on map editor working and show map and the features work perfectly.
but when i active “WP Google Maps – Pro Add-on” the map dont show, in the googlechrome console many errors appear.September 5, 2017 at 8:02 am #30146[email protected]Member
Thank you so much for getting in touch with us!
I am really sorry to hear that you have been experiencing problems with the plugin.
Could I please ask if it would be possible to send me a screenshot of the errors so that I can further debug this issue and find a solution as soon as possible?
DylanSeptember 5, 2017 at 8:26 am #30149PerryModerator
Hi there both of you,
Are you using version 6.* of both plugins? This is normally a symptom of mismatched versions, which are incompatible
Kind regardsSeptember 5, 2017 at 12:51 pm #30152wagnerantunes84Member
Hi guys, tanks for help.
look this images. my printscreen.
Attachments:You must be logged in to view attached files.September 5, 2017 at 12:56 pm #30157PerryModerator
It looks like there is some HTML being outputted from the datatables.min.js file so I imagine that file is missing and it’s loading a 404 page, which means in turn out plugin fails to load because execution stops where it tries to create a datatable.
If you visit http://www.spiltag.ind.br/wp-content/plugins/wp-google-maps/js/jquery.dataTables.min.js you should see the DataTables script but instead I see a normal page. Could you please look on the FTP and confirm that file is missing, and I’ll send you a replacement
Kind regardsSeptember 5, 2017 at 1:04 pm #30158wagnerantunes84Member
i am installing on new site http://www.spiltag.ind.br/wordpress
but this error show on http://www.spiltag.ind.br/wp-content/plugins/wp-google-maps/js/jquery.dataTables.min.js
the correct would not be http://www.spiltag.ind.br/wordpress/wp-content/plugins/wp-google-maps/js/jquery.dataTables.min.js
????September 5, 2017 at 1:07 pm #30160wagnerantunes84Member
- This reply was modified 3 years, 1 month ago by wagnerantunes84.
Attachments:You must be logged in to view attached files.September 5, 2017 at 3:49 pm #30167PerryModerator
Begging your pardon I didn’t actually spot that!
Could you upload that file to the path without /wordpress/ as a temporary measure?
I’ve looked at all the points where we enqueue that script and I see we are definitely doing that correctly – have you perhaps moved this site from one place to another without changing the relevant wp_options?
Kind regardsSeptember 5, 2017 at 4:05 pm #30168wagnerantunes84Member
this is a old site http://www.spiltag.ind.br
i create a new site on /wordpress and instaled wordpress and all plugins, but i dont move nothing.
I want to do everything before migrating to the root of the site or activate it as the main site. but still it was not supposed to be working? what I need to do? and if it works, after I leave as main site will my setup work properly? or la in the googlemaps api I need to change the site address http://www.spiltag.ind.br/wordpress because when I created the API I put only http://www.spiltag.ind.brSeptember 6, 2017 at 8:59 am #30181PerryModerator
Don’t worry about your referrer and API setup – that’s all OK, the only problem we have here is that your WP installation is looking for dataTables.min.js in the wrong place for some reason.
You can move that file there as a quick work around, I can look into the problem further if it’s permissible for me to get FTP access to the site, but logically speaking since we’re definitely enqueuing those scripts properly, and considering I’ve got several development installations that are in subfolders of the domain like yours and work correctly, this is either an issue with your WP installation or another plugin. I’d be happy to take a look though if you would like?
– PerrySeptember 6, 2017 at 8:58 pm #30245wagnerantunes84MemberThis reply has been marked as private.September 6, 2017 at 9:15 pm #30246wagnerantunes84MemberThis reply has been marked as private.September 7, 2017 at 9:58 am #30255PerryModerator
Could you please create a WordPress user for me with e-mail [email protected] and send me the details?
I tried to do that programatically so I could take a look on the back end however it isn’t working for me, sorry for the inconvenience
– PerrySeptember 7, 2017 at 3:02 pm #30285wagnerantunes84MemberThis reply has been marked as private.September 7, 2017 at 3:27 pm #30287PerryModerator
It seems that the URL returned by plugin_dir_url has a trailing slash which was leading to double slashes in the URL to load dataTables, which caused the 404.
I’ve added code to trim the trailing slash in wpGoogleMaps.php, I’ve tested it and it’s working 100% now!
Is there anything else I can help you with?
- You must be logged in to reply to this topic.