Map dont Show on Backend

New home Forums Pro Add-on Map dont Show on Backend

Tagged: , ,

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #30144
    wagnerantunes84
    Member

    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.

    #30146

    Hi there,

    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?

    Thank you.

    Kind regards,
    Dylan

    #30149
    Perry
    Moderator

    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 regards

    #30152
    wagnerantunes84
    Member

    Hi guys, tanks for help.

    look this images. my printscreen.

    Attachments:
    You must be logged in to view attached files.
    #30157
    Perry
    Moderator

    Hi there,

    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 regards

    #30158
    wagnerantunes84
    Member

    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

    ????

    #30160
    wagnerantunes84
    Member

    Look

    • This reply was modified 3 years, 1 month ago by wagnerantunes84.
    Attachments:
    You must be logged in to view attached files.
    #30167
    Perry
    Moderator

    Hi there,

    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 regards

    #30168
    wagnerantunes84
    Member

    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.br

    #30181
    Perry
    Moderator

    Hi there,

    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?

    Kind regards
    – Perry

    #30245
    wagnerantunes84
    Member
    This reply has been marked as private.
    #30246
    wagnerantunes84
    Member
    This reply has been marked as private.
    #30255
    Perry
    Moderator

    Hi there,

    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

    Kind regards
    – Perry

    #30285
    wagnerantunes84
    Member
    This reply has been marked as private.
    #30287
    Perry
    Moderator

    Hi there,

    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?

    Kind regards
    – Perry

Viewing 15 posts - 1 through 15 (of 18 total)
  • You must be logged in to reply to this topic.