• Resolved Ruhrpottjung

    (@ruhrpottjung)


    Find out today that WP-Matomo is not longer able to connect to my matomo counter.
    It say
    WP-Matomo 1.0.19 could not connect to Matomo with your configuration. Please check the “Connect to Matomo” section below

    The settings are correct and also the API key is correct.

    The Test Script say:

    `WP-Piwik 1.0.19
    Mode: http

    Test 1/3: global.getPiwikVersion

    array(2) {
    [“result”]=>
    string(5) “error”
    [“message”]=>
    string(83) “You can’t access this resource as it requires view access for at least one website.”

    Would be nice if someone can help me with that.

    Thank you
    Hans

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author braekling

    (@braekling)

    Just have a look at the test script output:

    You can’t access this resource as it requires view access for at least one website.

    The token you use is not valid or does not grant view access to the chosen site.

    Make sure…

    • … the correct site is chosen (should be shown below the connection settings; if auto-estimation does not work, you can also choose the site manually).
    • … the auth token is still valid (afaik the auth token is changed if the admin user password was changed)
    • … the auth token grants view access to the chosen site.
    Thread Starter Ruhrpottjung

    (@ruhrpottjung)

    Hey,

    At first thank you for the quick response.
    Today I generated a new API token with the same result.

    Site will be also not shown in the WP-MATOMO configuration:
    https://goo.gl/L1DNUR

    Admin Password was not changed.
    I don’t changed anything (worked before) at my Matomo (Piwik) configuration.

    Can it be that it has something to do that I use PHP version 7.1?

    Must I use the Token only or like it stand under API &token_auth=123…?
    Under the Admin user the Token number ist only standing but under api “&token_auth=”

    • This reply was modified 8 years, 1 month ago by Ruhrpottjung.
    • This reply was modified 8 years, 1 month ago by Ruhrpottjung.
    Thread Starter Ruhrpottjung

    (@ruhrpottjung)

    Found the Problem!
    The Problem was that I activated a plugin for two factor authentication what blocked then also the API access.

    Thank you for the help.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Can’t connect to Matomo’ is closed to new replies.