• Resolved dctotallockout

    (@dctotallockout)


    Hi, I did a wordpress update but now getting this error from Price based on countries plugin / database.

    The MaxMind GeoIP Database does not exist – Geolocation will not function.

    It says to download it and upload but not too confident with databases etc? Is there an easy fix?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Oscar Gare

    (@oscargare)

    Hi,

    The Geolocation is a function supported by WooCommerce. WooCommerce uses the MaxMind GeoLite database for geolocation, The GeoLite database has been discontinued by MaxMind, and GeoLite2 is the replacement. WooCommerce 3.4 adds support for and integrates WooCommerce with GeoLite2 to ensure geolocation will continue working correctly for the forseeable future. Read more about WC 3.4

    Price Based on Country have been tested with 3.4, the message is showing because WooCommerce does not download the new GeoLite2 automatically on the update to 3.4 and Price Based on Country is detecting the GeoIP database is not installed on your site.

    To solve it you can :
    1. Force that WooCommerce to download the GeoIP database from WooCommerce settings:
    + Go to WooCommerce -> General settings, Set the option “Default customer location” to “No Location by default”.
    + Save changes.
    + Return back the option “Default customer location” to “Geolocate” (or “Geolocate with page chaching support”) and save changes.

    2. If option 1 does not work, you will have to upload the GeoIP manually.

    Regards,

    Oscar.

    • This reply was modified 6 years, 6 months ago by Oscar Gare.
    • This reply was modified 6 years, 6 months ago by Oscar Gare.
    Thread Starter dctotallockout

    (@dctotallockout)

    Hi Oscar,

    Thank you very much for your response. That explains it much more clearer to me.

    I have tried option 1, but as I am currently in the UK I cannot detect if the geolocation is working/if it shows the currency as dollars for US customers. I will have to wait to find out.

    If not, I will have to look into the option 2.

    Thread Starter dctotallockout

    (@dctotallockout)

    Hi Oscar, I have done some more digging and read the article you sent from woocommerce. Turns out the GeoLite2 requires a minimum PHP version of 5.4 anD i think my site is less than this. It is very important I get the geolocation feature, have you got an old version of the plugin that I could re-install as a short term fix?

    It says on woocommerce “The whole process is automatic and no further action is needed on the store owner’s part to keep geolocation working correctly.”

    I havent actaully installed the woocommerce version 3.4 yet could this be why?

    Plugin Author Oscar Gare

    (@oscargare)

    If your PHP version is older than 5.4, you can enabled CloudFlare on your site:
    https://support.cloudflare.com/hc/en-us/articles/227634427-Using-Cloudflare-with-WordPress
    and then enable the CloudFlare IP Geolocation, the WooCommerce Geolocation function supports it:
    https://support.cloudflare.com/hc/en-us/articles/200168236-What-does-Cloudflare-IP-Geolocation-do-

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Geolocation will not function’ is closed to new replies.