ip2location / ip2location-piwik

IP2Location geolocation service to lookup a visitor's location in Matomo (Piwik) 4.x, 5.x. This service allows you to determine the country, region, city, coordinates, zip code, time zone, ISP, domain, MCC, MNC, mobile brand name, elevation, usage type, address type, IAB category, and more, associated with any given IP address.
http://www.ip2location.com
32 stars 18 forks source link

Incorrect .BIN file picked #49

Closed michnovka closed 2 years ago

michnovka commented 2 years ago

I installed also IP2Proxy addon and uploaded my 2 BIN files into misc/ folder

-rw-r--r--  1 root  root   96137254 Nov 29 17:00 IP2PROXY-IP-PROXYTYPE-COUNTRY.BIN
-rw-r--r--  1 root  root  379783309 Nov  1 13:00 IPV6-COUNTRY-REGION-CITY-ISP.BIN

However this results in issues, as the IP2Location plugin picks IP2Proxy BIN file (maybe as its alphabetically first?) for IP2Location and this makes ip2location lookups broken.

ip2location commented 2 years ago

Please rename the file so it gets sorted first. We will add a custom input in the next version.

michnovka commented 2 years ago

hi, ok thanks. But dont you think this issues should stay open until its resolved with actual push?

ip2location commented 2 years ago

We already have a new version released after my comment. Please check the version 4.0.6.

michnovka commented 2 years ago

I use 4.0.7 and I still get IP2PROXY BIN picked. I cant find the option to specify any other file. Where is it?

michnovka commented 2 years ago

I fixed the bug with this PR - https://github.com/ip2location/ip2location-piwik/pull/51

ip2location commented 2 years ago

The pull has been released, thanks.