@tsteur opened this Issue on November 14th 2021 Member

see https://github.com/matomo-org/matomo/issues/18132#issuecomment-966908570

My problem is that the System-Check tries https://mydomain.com/config/config.ini.php instead of https://mydomain.com/matomo/config/config.ini.php (Issue #17945).

I checked and it's using SettingsPiwik::getPiwikUrl indeed. Maybe something like Url::getCurrentUrlWithoutQueryString() should be used.

Do I see this right that we might be using SettingsPiwik::getPiwikUrl wrong also in quite a lot of other places @sgiehl ? Maybe we need to adjust the method to also consider the path potentially? But then we might also need a getPiwikHost method where it only returns the host (eg when we generate the option for the console --matomo-domain=$HOST).

Edit: created https://github.com/matomo-org/matomo/issues/18306

This issue is only for fixing the diagnostic check

@tsteur commented on November 14th 2021 Member

actually let's use the original issue

This Issue was closed on November 14th 2021
Powered by GitHub Issue Mirror