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
Fatal Error : Variable "dbipLiteUrl" does not exist. #15359
Comments
After update Matomo to beta version |
@diosmosis can you maybe have a look? I suppose that seems to happen when it thinks that GeoIP is not enabled in the controller? BTW noticed we might also want to escape the |
@tsteur This can happen if using GeoIp and not GeoIp2. I fixed it on demo will put a PR up soon, but users at this point should be using geoip2. Maybe we should also add a notification prompting users in case they are still using GeoIp? |
Thanks ! |
same problem after upgrade matomo 3.13.1, how to resolve my problem ? Variable "dbipLiteUrl" does not exist. |
@NicolasKulka can you install the GeoIp2 plugin? Note: this will perform an update that may take a while to run. |
Thanks, problem resolved |
@diosmosis should we reopen the issue to prevent this issue? Seems #15362 didn't fix it fully? |
It didn't, but this error only occurs when geoip 1 is being used, and at this point I don't think anyone should be using it. |
I would say many people still use it. Especially when they upgrade from an older Matomo version. AFAIK we didn't auto enable geoip2? |
@tsteur the problem here is we now tell people to download dbip's database, but that database only works with GeoIp2. So if a user has GeoIp 1 installed, much of our help text is not relevant. The only thing I can think to do is display "Please install the GeoIp2 plugin (note that this plugin will require a possibly long running update)." |
Sounds good 👍 |
Maybe you can optimize the helping text in a way to include deactivated modules, I was using the IP2location plugin and GeoIP2 was deactivated. I was very confused because I checked your posting here and looking into my Plugin list I found GeoIP2 but the error message still appeared – it took a while to realize that GeoIP2 was just deactivated … ;-) :-D |
The following error just broke Matomo (v3.13.1-rc1):
Variable "dbipLiteUrl" does not exist.
in /var/www/piwik/plugins/UserCountry/templates/adminIndex.twig line 21
Go to Settings > System > Geolocalisation
The text was updated successfully, but these errors were encountered: