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

When GeoIP installation has a status "broken", display a warning in the Locations reports and User Maps #10259

Open
alphaonex86 opened this issue Jun 27, 2016 · 8 comments
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@alphaonex86
Copy link

Hello,

You have my login/pass for my https://stat.first-world.info/
Again I have: There is no data for this report
index.php?period=range&idSite=1&segment=&date=last30&format=json&showRawMetrics=1&module=API&method=Live.getLastVisitsDetails&filter_limit=100&showColumns=latitude%2Clongitude%2Cactions%2ClastActionTimestamp%2CvisitLocalTime%2Ccity%2Ccountry%2CreferrerType%2CreferrerName%2CreferrerTypeName%2CbrowserIcon%2CoperatingSystemIcon%2CcountryFlag%2CidVisit%2CactionDetails%2CcontinentCode%2Cactions%2Csearches%2CgoalConversions%2CvisitorId%2CuserId&minTimestamp=-1
Have content.
Visitor log too.
No js error, tmp/ purged.

Cheers,

@tsteur
Copy link
Member

tsteur commented Jul 1, 2016

What is the subject of that email? I cannot find it. Is there data shown in the visitor log? Has it ever worked?

@alphaonex86
Copy link
Author

Search into your email: alpha_one_x86@first-world.info or brule.herman@gmail.com. Or send me an email to send again the access.
Is there data shown in the visitor log? -> yes
Yes, worked before.

@tsteur
Copy link
Member

tsteur commented Jul 3, 2016

@mattab did you receive an email? Please send access to hello at piwik.org

@mattab
Copy link
Member

mattab commented Jul 4, 2016

@tsteur just forwarded

@tsteur
Copy link
Member

tsteur commented Jul 4, 2016

All visits are missing a longitude and latitude entry.

If you go to Administration => Geolocation you will see that your GeoIP installation is broken:

image

There is also a warning:

WARNING: ..../plugins/UserCountry/LocationProvider/GeoIp/Pecl.php(130): Warning - is_dir(): open_basedir restriction in effect. File(/usr/share/GeoIP/) is not within the allowed path(s): (/....:/tmp) - Piwik 2.16.1 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)

@mattab if we are able to detect such errors we should show them on the Administration overview page in Piwik 3 similar to detected system test warnings / errors like we brainstormed a while ago. Ideally we would even show it directly in the reporting UI if there are such errors, maybe.

@tsteur tsteur added the c: Usability For issues that let users achieve a defined goal more effectively or efficiently. label Jul 4, 2016
@alphaonex86
Copy link
Author

Can you put a warning directly on the real time map please?

@tsteur tsteur added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Jul 7, 2016
@mattab mattab changed the title Realtime map "No data" again When GeoIP installation is "broken Jul 8, 2016
@mattab mattab changed the title When GeoIP installation is "broken When GeoIP installation has a status "broken", display a warning in the Locations reports and User Maps Jul 8, 2016
@mattab
Copy link
Member

mattab commented Jul 8, 2016

@alphaonex86 renamed issue to clarify what to do.

@hpvd
Copy link

hpvd commented Jul 12, 2016

maybe it's possible to also include
display a warning in the Locations reports and User Maps
if geoIP database is not as up to date as expected?
(these information could be easily extracted from settings, see also #10293)

because with this the shown values may be completely wrong...
(or should one open an extra issue for this?)

@mattab mattab added this to the Mid term milestone Jul 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

4 participants