WordPress.org

Ready to get started?Download WordPress

Forums

WP-Piwik
[resolved] wp-piwik on multisite subdomain installation (5 posts)

  1. roxor
    Member
    Posted 1 year ago #

    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- http://example.com/wp-admin/network/settings.php?page=wp-piwik/wp-piwik.php&tab=homepage 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.
    Thank-you

    http://wordpress.org/extend/plugins/wp-piwik/

  2. braekling
    Member
    Plugin Author

    Posted 1 year ago #

    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!

  3. roxor
    Member
    Posted 1 year ago #

    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.)
    BEFORE- http://www.mediafire.com/view/?hltxov61u8ldzc5
    AFTER- http://www.mediafire.com/view/?zkxhra0d7h39upv
    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 http://www.mediafire.com/view/?g7jjr5tk49lbamj
    3- Also wp-piwik options and stats menu disappear from the multisite sites and gives few errors in site's dashboard. http://www.mediafire.com/view/?ekbm3sk7q1v98xb

    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.

  4. braekling
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  5. braekling
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic