• Resolved codifex

    (@codifex)


    After updating WP-Piwik from 0.9.9.18 to 0.10.0.6 the site browser is inaccessible on a WP multisite system.

    Only WP’s default error message (something like insufficient rights to access the page) is shown when attempting to access the site browser via the plugin’s settings. The user is the blog network’s super user. I tried to log out and log in again, but this didn’t help.

    Is this feature already intended to work properly?

    Thank you in advance for any input!

    https://www.ads-software.com/plugins/wp-piwik/

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

    (@braekling)

    Yes, the site browser should work. There are two ways to get to the site browser:

    1. Network Dashboard -> Settings -> WP-Piwik -> Support -> Site browser.
    2. Network Dashboard -> Dashboard -> WP-Piwik

    Can you check if both links don’t work? Maybe I made a mistake with the settings link (I’ll have a look at this, of course), but the dashboard link should work.

    Plugin Author braekling

    (@braekling)

    Sitebrowser link (settings -> WP-Piwik -> support) is fixed in 0.10.0.7 (release today).

    Thread Starter codifex

    (@codifex)

    I updated from 0.9.9.18 to 0.10.0.7 on the test system. I also updated the whole blog network, although I am not sure if this is even required when updating a plugin only. Using WordPress 4.2.2 and Piwik 2.13.0.

    Logged out and logged back into the backend again, logged out/in from multiple clients, disabled/enabled the plugin and even uninstalled/reinstalled it. In any case the result is the same.

    1. Network Dashboard -> Settings -> WP-Piwik -> Support -> Site browser.

    This still leads to the error message “Du hast nicht die erforderlichen Rechte, um auf diese Seite zuzugreifen.” The URL of the error page is https://example.org/wp-admin/options-general.php?page=wp-piwik/classes/WP_Piwik.php&sitebrowser=1, “example.org” is just a placeholder I used here. The user is the blog network’s super user and admin of each blog.

    2. Network Dashboard -> Dashboard -> WP-Piwik

    Works as expected and the IDs shown for the sites here are correct. The correct site IDs are also shown when running the test script.

    After the update wrong IDs were emitted by the tracking script (although the test script and Dashboard -> WP-Piwik reported the correct site IDs), thus scrambling Piwik statistics. However, it seems that after reinstalling the plugin this issue is fixed (I am still testing and I’ll report my findings later).

    Thank you for your commitment.

    Plugin Author braekling

    (@braekling)

    Hm, I’m sorry. The link should be fixed but it is obviously the wrong one again. ?? I’ll have a look at this, again.

    Do you know which site IDs were shown before you re-installed the plugin? Did all sites show the same ID?

    Thanks!

    Thread Starter codifex

    (@codifex)

    Thank you for your quick reply.

    German: example.org has site ID 1
    Russian: example.org/ru has site ID 2
    English: example.org/en has site ID 3

    As far as I see site ID 2 was emitted for the root site example.org instead of the correct site ID 1. The visits of the German site show up in the statistics for the Russian site. The statistics for the English site seem to be correct.

    In the backend’s plugin settings page _paq.push(['setSiteId', 2]); was shown in the tracking code sample. After uninstalling/reinstalling the plugin the line reads _paq.push(['setSiteId', 1]);.

    Plugin Author braekling

    (@braekling)

    Ok, obviously I didn’t commit the fix or I accidently just changed the test script link.

    The fix is committed now and will be available in 0.10.0.8 this evening.

    The site mapping issue will be handled here:
    https://www.ads-software.com/support/topic/site-mapping-information-lost-on-update-from-09918-to-01006

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Site browser inaccessible after update from 0.9.9.18 to 0.10.0.6’ is closed to new replies.