• Resolved Tunox

    (@tunox)


    Hello,

    I’ve installed the plugin (latest version), created a map and included the shortcode on a contact page.

    When I visit the said page nothing shows up, unless I do a page refresh. After the refresh everything works nicely and neatly.
    The issue isn’t with my local environment as I have tested this thoroughly elsewhere. On the concerned website I have no JS errors (or any errors for that matter) reported on Firebug, so I can’t see if WPGMaps is in conflict with something else. The issue isn’t only with this particular page. I can use the shortcode on any article or other page and the results are the same.
    The situation gets even stranger: if I input the url of the said page(s) directly in the browser address bar, the map shows with no issues. Basically the problem persists only if I go to the said page(s) through the website navigation menu.
    I admit I’m a bit lost here as I don’t know where to start looking. Hints will be much appreciated.

    https://www.ads-software.com/plugins/wp-google-maps/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Tunox

    (@tunox)

    Some extra notes after reading the hints on the plugins website:

    1. I’m not using any caching plugin. Website is a fresh install with a total of 5 plugins.
    2. footer.php has the necessary closing hook <?php wp_footer(); ?>
    3. jQuery is installed and used with no problems elsewhere on the site
    4. Map is being used on the content of plain page and it’s not running on a tab or accordeon.
    5. As explained on my 1st post, no JS/CSS/HTML errors
    6. I played around with the settings of the plugin (disabling map options, overriding jquery, etc)

    Plugin Author WPGMaps

    (@wpgmaps)

    Hi Tunox
    Thank you for your detailed query.
    Are you perhaps running any Ajax specific scripts that displays information on the page?

    Thread Starter Tunox

    (@tunox)

    Hello and thanks for the reply ??
    Yes there some theme specific ajax actions being queried on that page so I guess this is some sort of event loading priority issue. The problem with pinpointing the problem is that my JS skills are very very basic and the lack of errors in the Firebug console is not helping me either. Hence I don’t know how to tackle the issue.

    Some other tests I’ve done in the meantime:
    1. clean local install of WP4 + WPGMaps = everything works fine as expected
    2. clean local install of WP4 + my premium theme + WGMaps = everything works as expected
    3. on my live server where I have the issue; WP4 + my premium theme + embedded native google maps code = Everything works fine

    The last remaining tests is to reproduce 1 and 2 on the live server in order to see if this is somehow an issue with my host. I higly doubt it but you never know.

    Any further advise on how to procede with JS specific tests is highly welcomed.

    Thread Starter Tunox

    (@tunox)

    Hello,

    I finally solved the issue, by disabling the ajax content loading on my theme. So finally this had nothing to do with WPGmaps at all. What was a mislead for me in all of this, was what I mentioned in my previous post:

    2. clean local install of WP4 + my premium theme + WGMaps = everything works as expected

    I don’t get it why it didn’t work on my live server, but this is out of the scope of this plugin anyway, so I won’t enter on that.

    However there’s a last piece of info I would like to have; I intend to open a support ticket with the theme authors so they can check this conflict. Any particular technical detail I can give, to make the issue more comprehensive for them? (event loading priority, ajax conflict etc)

    Plugin Author WPGMaps

    (@wpgmaps)

    Hi Tunox
    Apologies for the delay.

    This is not the first time we’ve heard of the Ajax issue. It could honestly be an issue on my side.

    Are you able to name the theme. I’d like to purchase it so that I can debug the issue on my side.

    Thread Starter Tunox

    (@tunox)

    Hello,

    It’s the Border theme from the guys at Pixelgrade

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Page refresh needed to show the map.’ is closed to new replies.