Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Country database sets wrong edition type value #29

Open
MWilkinson opened this issue Jul 23, 2020 · 1 comment
Open

Country database sets wrong edition type value #29

MWilkinson opened this issue Jul 23, 2020 · 1 comment

Comments

@MWilkinson
Copy link

Hi,
i've recently run into an issue using the GeoIP.dat files downloaded from https://www.miyuru.lk/geoiplegacy
while the file is working as expected for nginx, it is being used by a Magento 1 module (Openstream/GeoIP) to provide geoip redirects.

After investigating the module and testing with the last published GeoIP.dat file from MaxMind, it seems that the
database type (set as COUNTRY_EDITION) in the MaxMind DB is value 106, where as in geolite2legacy the constant has a value 1

other than the magento module not accepting the geolite2legacy generated file, everything else appears to be happy with the difference in the database type value (geoiplookup tools, nginx) - but it could be that they are just assuming default values for things if the type value doesn't match something else.

@miyurusankalpa
Copy link
Contributor

hi @MWilkinson,

I was using a old version of sherpya/geolite2legacy from 01/2019. Now I am using the lastest geolite2legacy for the releases from 09/2020. Please try the new releases.

https://twitter.com/PeterDaveHello/status/1298172861283106817

Further more, I recommend contacting me via email or twitter for releases from my site.

Before creating an issue here please double check the error by creating a db from sherpya/geolite2legacy as I do custom modifications for releases on my site.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants