• Resolved sneak_chamber

    (@sneak_chamber)


    WP-Google-Maps has stopped saving the XML file since i updated to the latest version, this has since rendered my maps useless :/

    Has anyone else come across this or offer any solution? I’ve checked the privileges, and they are all good, the plugin won’t even make the XML file :/

    I’m not using any CDN or caching plugins. Any help would be greatly appreciated.

Viewing 15 replies - 16 through 30 (of 32 total)
  • I know it is solved but let me confirm something…

    I could not write the XML (even with right permissions) because a PHP problem of my hosting provider…

    Now is fine and im using the wp google maps pro version!

    God job!

    I have this problem too.. It seems the path it tries to write the xml file to is messed up –

    Could not save marker XML file (/home/mokummusic/domains/planamsterdam.com/public_html/domains/planamsterdam.com/public_html/wp-content/uploads/wp-google-maps/1markers.xml) for Map ID 1

    See the bold type

    Hi,
    I mooved my website to OVH hosting and i faced this problem.
    My solution :

    Instead of
    Marker data XML directory: https://yourdomain.com/wp-content/uploads/wp-google-maps/

    Write :
    Marker data XML directory: www/wp-content/uploads/wp-google-maps/

    And it worked for me.

    I am having the same XML problem that everyone describes in this forum…. except I can’t get any of the solutions listed above to work. AND MY MAP APPEARS TO BE WORKING. But the error still shows up.

    I have changed permissions, tried @atkheos suggestion on changing the directory, updated to the latest version but nothing is working.

    Does anyone have any other suggestions.

    website with error

    Plugin Author WPGMaps

    (@wpgmaps)

    Hi Jessi
    Looks like you got it working? What was the issue?

    HI, I’m still experiencing this issue, any idea what I can do?

    Thanks.

    FWIW, this setting is set in the “wp_options” table of the database (option name=wpgmza_xml_location). I copied my live development site back down to my local computer and am receiving this error as well.

    Setting your permissions on “wp-content/uploads/wp-google-maps” to 777 is fine and dandy but it will never solve your problem because the plugin doesn’t appear to update this database settings if you move your site. I tried deactivating/activating the plugin but to no avail. I suppose I’ll manually update the path in the database to solve my problem but that’s probably not an ideal solution for a lot of people here.

    To the plugin author, any thoughts?

    Plugin Author WPGMaps

    (@wpgmaps)

    Hi
    The latest version of the basic will now update the MARKER XML DIR and MARKER XML URL when you move your site around. We are now making use of internal shortcodes that point to the uploads dir, content dir and plugin dir – you can choose which you’d like to use.

    Please update your basic (and pro if you have) and you should be able to make use of these shortcodes in the MARKER XML DIR and MARKER XML URL fields in the Maps->Settings page.

    I updated to Version 6.0.28 just prior to making my last post. Is that the version you are referring to? Any other steps I need to take beside deactivate/activate and chmod 777?

    FWIW, I’ve been using the following in my theme template for page.php but still experience this issue. At what point does your plugin update that database entry?

    <?php echo do_shortcode('[wpgmza id="1"]'); ?>

    Plugin Author WPGMaps

    (@wpgmaps)

    Please go to Maps->Settings (left menu in wp-admin) and have a look at the “marker xml dir” and “marker xml url” fields.

    Try the following:

    Marker XML DIR
    {uploads_dir}/wp-google-maps/

    Marker XML URL
    {uploads_url}/wp-google-maps/

    That should now change the DIR and URL dynamically for you.

    That’s it, thank you! Fast support too!

    Plugin Author WPGMaps

    (@wpgmaps)

    Glad we could help!

    Hello WPGMaps, am experiencing the same problem for the website: https://www.laboratoire-ramousset.fr/contact/
    It says that it can not find the marker xml directory.
    What should i do?
    What do you mean by {upload_url} and {upload_dir}?
    Thanks

    Plugin Author WPGMaps

    (@wpgmaps)

    Hi Lacau

    Please go to Maps->Settings (left menu in wp-admin) and have a look at the “MARKER XML DIR” and “MARKER XML URL” fields.

    Change them to the following

    Marker XML DIR
    {uploads_dir}/wp-google-maps/

    Marker XML URL
    {uploads_url}/wp-google-maps/

    I’m having same problem in localhost environment. I’ve tried to set those marker dir’s. No help at all. Instead it puts extra //’s and \\\’s to dir’s.
    So maybe paths are wrong in source code.

Viewing 15 replies - 16 through 30 (of 32 total)
  • The topic ‘Could not save XML file’ is closed to new replies.