@NicolasKulka opened this Issue on January 8th 2020

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

@NicolasKulka commented on January 8th 2020

After update Matomo to beta version

@tsteur commented on January 8th 2020 Member

@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 dbipLiteUrl in the twig template

@diosmosis commented on January 8th 2020 Member

@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?

@NicolasKulka commented on January 9th 2020

Thanks !

@NicolasKulka commented on January 16th 2020

same problem after upgrade matomo 3.13.1, how to resolve my problem ?

Variable "dbipLiteUrl" does not exist.
in /var/www/piwik/plugins/UserCountry/templates/adminIndex.twig line 21

@diosmosis commented on January 16th 2020 Member

@NicolasKulka can you install the GeoIp2 plugin? Note: this will perform an update that may take a while to run.

@NicolasKulka commented on January 16th 2020

Thanks, problem resolved

@tsteur commented on January 16th 2020 Member

@diosmosis should we reopen the issue to prevent this issue? Seems https://github.com/matomo-org/matomo/pull/15362 didn't fix it fully?

@diosmosis commented on January 17th 2020 Member

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.

@tsteur commented on January 17th 2020 Member

I would say many people still use it. Especially when they upgrade from an older Matomo version. AFAIK we didn't auto enable geoip2?

@diosmosis commented on January 17th 2020 Member

@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)."

@tsteur commented on January 20th 2020 Member

Sounds good 👍

Powered by GitHub Issue Mirror