You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked into the GeoIP system check and I am completly confused by both the code and the warnings Matomo gives:
When I set up Matomo with the default geolocation provider, I get the following warning in the system check: Geolocation works, but you are not using one of the recommended providers. If you have to import log files or do something else that requires setting IP addresses, use the PHP GeoIP 2 implementation</a> and install <a href="https://matomo.org/docs/geo-locate/" rel="noreferrer noopener" target="_blank">maxminddb extension.
The HTML is broken and it recommends users to install maxminddb, something nearly nobody should need to do.
Looking at the code doesn't really clear anything up:
The warning I expect most people to see there (DefaultLocationProviderDesc1) is only displayed if !$isProviderInstalled which only happens if the status of the currently selected geolocation provider is not INSTALLED, but the default provider is obviously always installed, so I think noone ever sees the warning that provides the actual help.
I also can't think of a combination of mixed up translation strings or conditions that would make sense.
@sgiehl, do you know more about how this is supposed to work?
The text was updated successfully, but these errors were encountered:
I looked into the GeoIP system check and I am completly confused by both the code and the warnings Matomo gives:
When I set up Matomo with the default geolocation provider, I get the following warning in the system check:
Geolocation works, but you are not using one of the recommended providers. If you have to import log files or do something else that requires setting IP addresses, use the PHP GeoIP 2 implementation</a> and install <a href="https://matomo.org/docs/geo-locate/" rel="noreferrer noopener" target="_blank">maxminddb extension.
The HTML is broken and it recommends users to install maxminddb, something nearly nobody should need to do.
Looking at the code doesn't really clear anything up:
matomo/plugins/UserCountry/Diagnostic/GeolocationDiagnostic.php
Lines 45 to 65 in 1155273
The warning I expect most people to see there (
DefaultLocationProviderDesc1
) is only displayed if!$isProviderInstalled
which only happens if the status of the currently selected geolocation provider is not INSTALLED, but the default provider is obviously always installed, so I think noone ever sees the warning that provides the actual help.I also can't think of a combination of mixed up translation strings or conditions that would make sense.
@sgiehl, do you know more about how this is supposed to work?
The text was updated successfully, but these errors were encountered: