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

GeoIPCity Only showing region #10386

Closed
wblaircox opened this issue Aug 9, 2016 · 8 comments
Closed

GeoIPCity Only showing region #10386

wblaircox opened this issue Aug 9, 2016 · 8 comments
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.

Comments

@wblaircox
Copy link

Hi folks,

Just wonder if anyone else has come across the issue that after a clean install, followed everything to the letter, installed PHP and PECL versions - it still does not show the city. Just the IP and the region (country). I first noticed this several months ago on a client install and chalked it up to being an error with the installation. Spent all day on this, done everything I can think of, even trying other DB's I could find (with exception of purchasing the full version).

My first thought is that the legacy lite db is now past it's best before and this is the best you can get. Thoughts? Cheers!

@gaumondp
Copy link

gaumondp commented Aug 9, 2016

Did you rename the file ? The Admin=> Geolocation page is your friend.

Watch also your phph.ini setting for 'geoip.custom_directory' just in case.

@wblaircox
Copy link
Author

@gaumondp Checked the file, looks good. Deleted it several times and retried via the Admin +> Geolocation page. PHP.ini is setup correctly, according to the documentation instruction. Would there potentially be something blocked in mod_sec? I find that thing is root cause of many issues.

@hpvd
Copy link

hpvd commented Aug 10, 2016

at which place are you looking? in visitor log?
If so it maybe related to this:
#9705

@wblaircox
Copy link
Author

wblaircox commented Aug 10, 2016

Shows the same on Visitor Log, Real-Time Map, the Geo config page to the right where you can test it. I followed the thread you posted a bit, but I'm not seeing a solution, seems to be a rabbit hole of more threads. Since this appeared on my server in early spring for another site, I'll check mod_sec to see if something is being blocked.

UPDATE: Actually it partially works on the real-time map. It shows a city location for a US location, but then when you go into the details, it is only the IP. Very odd, isn't it? Where could I look to solve this?

@wblaircox
Copy link
Author

@gaumondp @hpvd Mod_sec has been checked - no issues. Tried changing php.ini to;

;added for use with Piwik analytics
extension=geoip.so
geoip.custom_directory = "/home/~~~/public_html/~~~/misc"

Just ended up installing IP2Location. Not sure if the two can work together.

@tsteur
Copy link
Member

tsteur commented Aug 15, 2016

In PrivacyManager do you maybe have IP Anonymization enabled and disabled to use the IP for enriched reports? You can check in Administration => Privacy Manager

@wblaircox
Copy link
Author

I have it set to no.

On Mon, Aug 15, 2016, 12:35 AM Thomas Steur notifications@github.com
wrote:

In PrivacyManager do you maybe have IP Anonymization enabled and disabled
to use the IP for enriched reports? You can check in Administration =>
Privacy Manager


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#10386 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMTKCcTauS8EcNS8g5iHhS8thXeY8hYtks5qf96VgaJpZM4JfoDw
.

@mattab
Copy link
Member

mattab commented Nov 11, 2016

@wblaircox is it correct that your GeoIP PECL setup is marked as "installed" in the geolocation admin, but does not actually detect any country or cities of any of your visitors?

@mattab mattab added the Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. label Nov 11, 2016
@mattab mattab added this to the Mid term milestone Nov 11, 2016
@mattab mattab closed this as completed Mar 19, 2019
@mattab mattab added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.
Projects
None yet
Development

No branches or pull requests

5 participants