WordPress.org

Ready to get started?Download WordPress

Forums

WP Flexible Map
[resolved] Maps disappear (10 posts)

  1. popsantiago
    Member
    Posted 9 months ago #

    Hello,

    I don't know why, but my maps disappear...

    http://www.worldfactorytour.com/contactez-nous/

    No console error...

    Any idea ?

    Thanks

    http://wordpress.org/plugins/wp-flexible-map/

  2. webaware
    Member
    Plugin Author

    Posted 9 months ago #

    G'day popsantiago,

    Looks to me like your theme doesn't call wp_head() and wp_footer(), which tell WordPress to output stylesheets and scripts in the header and footer of the page.

    cheers,
    Ross

  3. popsantiago
    Member
    Posted 9 months ago #

    Hey Webaware,

    Thanks for your reply.
    I did a fresh install my theme + your plugin => Map Works.
    The différence between prod and dev is the Cache plugin and the new add-on of 1and1 Cloudfare possibility.

    Do you think that can be the problem ?

    Thanks.

  4. webaware
    Member
    Plugin Author

    Posted 9 months ago #

    Yes, probably the caching plugin. Some (W3 Total Cache for example) have some pretty aggressive settings that mess things up. You might be able to turn it back on if you pare back the aggressive settings a bit, basically anything that takes over script and stylesheet management.

    cheers,
    Ross

  5. popsantiago
    Member
    Posted 9 months ago #

    Ok,

    I hate work with cache...

    The issue seems to be : stop the Rocket Loader of the CDN 1and by CloudFlare.

    If i need to not minify a specific file for Fleximap, which on is it ?

    Thanks

  6. webaware
    Member
    Plugin Author

    Posted 9 months ago #

    I don't know, have not played with that at all.

    cheers,
    Ross

  7. popsantiago
    Member
    Posted 9 months ago #

    All right,

    Thanks

    Pop

  8. webaware
    Member
    Plugin Author

    Posted 6 months ago #

    G'day @popsantiago,

    I just wrote a small plugin that fixes the problem with Rocketscript:

    https://gist.github.com/webaware/8949605

    It actually tells Rocketscript to leave the Flexible Maps scripts alone, so they don't get processed by Rocketscript, but at least it allows you to turn Rocketscript on again and get its benefits for other scripts.

    cheers,
    Ross

  9. BuzzyBuzzy
    Member
    Posted 6 months ago #

    Hi Webaware,

    My maps also suddenly stopped working.

    I tried deactivating my cache (Quick Cache) and my CDN (Cloudflare) but no luck, So I reactivated them.

    I copied your plugin script above, created a new folder in the plugin directory and pasted it, but still no maps. Any ideas?

    http://toplawyerscanada.ca/

    Thx!

    Jim

  10. webaware
    Member
    Plugin Author

    Posted 6 months ago #

    @BuzzyBuzzy please start a new topic, don't hijack another topic (especially one that's already resolved!)

    And please, provide a link to a page that should have a map on it, I'm not going hunting through your website! :)

    cheers,
    Ross

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.