• Resolved johncpescod

    (@johncpescod)


    I’m new to WordPress and presently using WooCommerce for an Artist friend’s new website. I am very interested in your plugin but I have a message in WooCommerce settings, “The MaxMind GeoIP Database does not exist – Geolocation will not function. You can download and install it manually from https://dev.maxmind.com/geoip/legacy/geolite/ to the path: /customers/d/f/8/koningenart.com/httpd.www/wp-content/uploads/GeoIP.dat”

    I have looked at the MaxMind website, but do not understand how the downloaded file needs to be put into my website files. Does your plugin automatically link to the GeoIPs or do I have to fix this missing Geolocation database issue first?

    Thanks in advance, John Pescod

    https://www.ads-software.com/plugins/geoip-detect/

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Benjamin Pick

    (@benjamin4)

    It depends where you want to use the geolocation data. If you are concerned about Woocommerce, then yes you need to fix it there (upload the file via FTP).

    If you want to use the geoIP functions of this plugin, then this is unrelated to Woocommerce and yes, the plugin will download the needed file itself. So think of Woocommerce and GeoIP Detection as 2 completely seperate systems. (Actually Woocommerce is using a different version of the Maxmind Database.)

    Thread Starter johncpescod

    (@johncpescod)

    Thank you very much Benjamin for your answer. I want to use WooCommerce on my friend’s website so I have downloaded a zipped file from Maxmind but then I have no idea what to do with these files.
    The zip file contains files such as “GeoLite2-Country-Blocks-IPv4.csv, GeoLite2-Country-Locations-en.csv, GeoLite2-Country-Locations-de.csv”.
    People say install them into WordPress but no one says exactly how this is done (for a newbie).
    But I am very curious about your plugin since it has very positive reviews! What does it do that WooCommerce using geolocation can’t do?

    Plugin Author Benjamin Pick

    (@benjamin4)

    For the Woocommerce plugin, you need to get support there – but in short, if there are csv files in your zip, then you downloaded the wrong zip file (you need something with .dat).

    As you are probably not a coder, the only thing this plugin can do for you is print the detected country/city somewhere in the text (via a shortcode). It can’t do anything for Woocommerce.

    Thread Starter johncpescod

    (@johncpescod)

    Thank you Benjamin for your kind help. I found the GeoIP.dat file at MaxMind and then uploaded it to wp-content/uploads/GeoIP.dat.
    When I checked WooCommerce System Status, it now has a “green tick” on the MaxMind GeoIP Database.

    Hey johncpescod,
    I don’t know if you are still around but I am having the same problem you did. I also looked into using GeoIP Detection.

    How were you able to get rid of the message:
    The MaxMind GeoIP Database does not exist – Geolocation will not function…
    I was unable to find the correct GeoLite .dat files that you listed above. I am a newbie and reading the website was all alien to me.
    If you are still around could you please let me know the exact link where you got the files and how you were able to upload them. Did you use fileZilla?
    And if you are also around Benjamin Pick, I wouldn’t mind picking your brain too as you seem to be quite knowledgeable.

    Any help would be most appreciated.

    Thread Starter johncpescod

    (@johncpescod)

    Hello srichie,
    As Benjamin said, I needed the file which DID NOT contain csv files. Go to https://dev.maxmind.com/geoip/legacy/geolite/ and download the first one in the top left hand corner. Geolite Country / binary-Gzip. After downloading it, you unzip it and it then becomes the “GeoIP.dat” file.

    This file then needs to be put in your WordPress directory “wp-content/uploads” In my upload directory I also see directories such as “woocommerce_uploads” and “wc-logs”. After putting the GeoIP.dat file into the uploads directory, in my WP installation it is the only file there by itself. All other files are in the sub-directories of “uploads”.

    I transferred the unzipped GeoIp.dat file from my computer into the directory “wp-content/uploads” using the control panel of my shared hosting provider, but there must be other ways such as FTP.

    Once that was done, I went into my WP dashboard and selected “WooCommerce” > “System Status” When you scroll down to the line “MaxMind GeoIP Database:” you should then have a “green tick” mark with the location of the GeoIP.dat file.
    Hope this help another newbie ??

    Hi johncpescod,

    Thank you for answering my inquiry.
    I followed your instructions and everything worked like a charm! You definitely helped out this newbie.
    Good luck with the website you’re building.

    Im having the same issue but when I upload the database to the wp-content directory it shows GeoIP.dat.gz. and the problem is not solved. Is this because I need to unzip it and if so how do I do it?

    Thread Starter johncpescod

    (@johncpescod)

    Hi 123newbie. If you have never unzipped a file you sure are a newbie! You can download the free program 7Zip at https://www.7-zip.org

    Once that is installed you can go to your downloaded GeoIP.dat.gz file, right click on it with your mouse (presuming you are using windows) and choose “open with.” This should show you a choice – one of which should be “7Zip File Manager”. Click on that.

    You will then see the file in the 7Zip program window. Click on the file (Highlighting it) then choose the “Extract” button which is written in large letters. A window will then open to show where the file will be unzipped to – you can change this to wherever you want. Then go to the directory you chose, and you’ll notice the file no longer has the “.gz” but just GeoIP.dat. It is this file that you need to upload into WP.

    Alternatively, you can start the 7Zip program first and choose the menu “File” > “Open” and go to the directory and file you want to unzip, and then do as above. Have fun!

    I made this account specially to thank you guys. Thank you guys.

    Hi Guys,

    I am also facing the same issue, I have the same error as you guys have, I have downloaded the file, I went to my WP-contact > upload folder and yes I do the same things as you all said 1) wc-logs and 2) woocommerce_uploads. So i am on the right track…

    now whats next? I am hosting my website on hostgator for your info. how can i upload this file into upload folder?

    Plz, tell me step by step as i am not the technical guy. however discussion like this seriously helps other….

    Do i need to open upload folder ? i can see There is an button on the top header ‘”upload” do i need to click on that to upload the file? is this the right way? or something else?

    Hello Guys

    I face the same problem.I know how to download the file.But have no idea of WP-content.

    Where could i find WP-Content?I search this directory name on my PC.There is none.

    Anyone could help me figure it out?

    Thanks
    Chloe

    Hi,

    I have resolved the issue by the following steps.

    You have do download GeoIP.dat file from the following link https://dev.maxmind.com/geoip/legacy/geolite/

    unzip the file and you will get GeoIP.dat file.

    Next – Go to your hosting > cpanel > file manager > WP-contact > upload folder. So, now you are on upload folder, click on upload file, select the file from the choose file option and upload the GeoIP.Dat file and done.

    ?? I hope you will resolve this issue by following step. Best of luck.

    Hi,

    I did the same and GeoIP.dat is in wp-content uploaded and it is there but I still see the the read message in my system status as nothing has changed.

    Why is that so?

    Are you sure bout this? i hope you have downloaded right file.

    The file which u have downloaded it should name Geoip.dat.

    Would u try one more time and see and share the screenshot of your system report too.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘GeoIP.dat database’ is closed to new replies.