Gmap gone…

This topic contains 9 replies, has 4 voices, and was last updated by  patripat 6 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #387015

    patripat
    Expired Member
    Post count: 165

    Good morning,

    today gdmap is not working, would it be on the home page or in listings…
    tried to swap it to open street maps and that one will only display events

    the only thing i changed yesterday was for loading time, installed browser caching with .htaccess
    but it worked fine for the rest of the day

    could you please have a look? i’m out of ideas…

    Thanks in advance,
    Pat

    #387016

    patripat
    Expired Member
    Post count: 165
    This reply has been marked as private.
    #387022

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #387026

    patripat
    Expired Member
    Post count: 165

    Can it be because I moved all js to the footer?

    But it worked yesterday…

    #387027

    Kiran
    Moderator
    Post count: 7069

    Hi Pat,

    Are you using any plugin related to “pagespeed” or enabled any pagespeed settings from server side?
    This breaks the JavaScript files and results in a JS errors.

    JS file with pagespeed url: https://www.toutwaterloo.be/wp-includes/js/jquery/jquery.js,qver=1.12.4.pagespeed.jm.pPCPAKkkss.js
    JS file without pagespeed url: https://www.toutwaterloo.be/wp-includes/js/jquery/jquery.js?ver=1.12.4

    Also it showing Google Map Invalid Key error: “Google Maps API warning: InvalidKey https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key

    Please correct these things and let us know how it goes.

    Thanks,
    Kiran

    #387030

    patripat
    Expired Member
    Post count: 165

    Hi Kiran,

    i used a code in htaccess to place all js in footer whick broke the map, removed it
    restored htaccess to previous version

    the map is back

    but then how to combine external javascript and reduce loading time?

    Thanks for your help, i’m a bi surprised because when “installed” the map was loading…maybe it took some time to be replicated…

    Thanks,
    Pat

    #387035

    Kiran
    Moderator
    Post count: 7069

    Thanks for letting us know.

    You can use either “GD Booster” or “WP Super Cache” caching plugin to reduce load time. Both are fully compatible with GeoDirectory.

    GD Booster: https://wpgeodirectory.com/docs/gd-booster-add-on-overview/
    WP Super Cache: https://wpgeodirectory.com/docs/useful-plugins/#super-cache

    Kiran

    #387148

    patripat
    Expired Member
    Post count: 165

    Thanks Kiran,

    i tested both solutions, and being afraid of f***ing things up again i came back to GD Booster

    when testing with pingdom tools i got this to resolve :
    f
    0 Parallelize downloads across hostnames
    f
    5 Combine external JavaScript
    e
    51 Combine external CSS
    c
    76 Serve static content from a cookieless domain
    c
    77 Remove query strings from static resources

    Would you have any hint on how to get this with green lights? We really need specialists help here, Geodirectory and Google Maps being a little heavy to load and it really becomes an issue…

    AND i dont want to keep crashing my site twice per week 🙂

    Thanks a lot for your help,
    Pat

    #387176

    Paolo
    Site Admin
    Post count: 31206

    Hi Pat,

    what kind of server is hosting your website? The only thing that can significantly improve a website performance, is a server upgrade.

    Caching plugins do what high octane gasoline does, they bring a car to reach its top performances.

    That said, if the car normal speed is 120 km/h, you can’t expect to ride at 300km/h, just because you filled it with high octane gas.

    Same goes with caching plugins.

    I hope this helps.

    Let us know,

    Thanks

    #387209

    patripat
    Expired Member
    Post count: 165

    Hi Paolo,

    yes i perfectly understand, it runs on a 4 core 10Gb Ram VPS

    Pat

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket