Support » Plugin: WP-Matomo (WP-Piwik) » wp-piwik on multisite subdomain installation

  • Resolved roxor


    Hi @braekling
    I got this awesome plugin to work for my subdomain multisite install.
    I am using WP 3.4 and wp-piwik 0.9.5, Everything’s fine other then-
    1- I have filled Piwik URL (REST API) & Auth token. I get You do not have sufficient permissions to access this page. when i try to save settings network wide as Super-Admin for wp-piwik under settings menu.
    URL- OR piwik OR tracking OR views
    Not to worry settings get saved thou.
    2- I get Piwik error: Please specify a value for ‘idSite’. on my subdomain site’s Piwik dashboard unless they are visited.
    3- I am planning for a large network of blogs. I was hoping this would work fine with SharDB, HyperDB, MultiDB etc. I will try them and let you know soon 🙂
    4- Also any update on this when you said on a post

    Super admin stats select box is not perfect solution if you are using WP-Piwik in a very big netowrk. This was mentioned before and will be fixed by paging or a similar solution.

    Disabling sitewide stats (dropdown) for Super Admins would be great.

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


    Hi roxor!

    1: Can you compare the URL opened before saving the settings (the settings page itself) with the URL opened on saving the stats (the shown error page)? Do they differ?

    2: This is a known issue and will be fixed in 0.9.6.

    3: Great! Would like to hear about your results!

    4: This is also done in 0.9.6. 🙂

    Thank you for your feedback!

    Hi braekling,
    No the URL’s are same before and after saving the settings. I would like to help more here, I did two trials. check the screenshots linked.

    case A- on setting option Piwik URL (REST API) with Auth token.
    1- Error message got “You do not have sufficient permissions to access this page.” (settings get saved thou.)
    2- Apart from this everything works fine.

    case B- on setting option Piwik path (PHP API, beta) with Auth token.
    1- NO SUCH ERROR message got “You do not have sufficient permissions to access this page.” (settings get saved thou.)
    2- Menu tabs disappear on super-admin’s settings page HOME, TRACKING, STATISTICS
    3- Also wp-piwik options and stats menu disappear from the multisite sites and gives few errors in site’s dashboard.

    btw- If you want to create the exact multisite subdomain installation setup for testing then you are welcome to use mine. I can mail you the Login credentials. This would save your valuable time.
    and Thanks a lot for rest of the updates.

    Plugin Author braekling


    Please have a look at your settings.

    1. If you enable the PHP API, you have to enter your Piwik’s server path.
    2. “&token_auth=” is not part of your auth token! The token begins behind this string!

    But it’s interesting to know the permission error does not appear using the PHP API. Maybe this will help to get behind this issue.

    Plugin Author braekling


    2 & 4 are done in 0.9.6 (release today).

    I will open a new thread regarding 1 because I don’t get behind this issue yet.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wp-piwik on multisite subdomain installation’ is closed to new replies.