Closed gjelsas closed 7 years ago
Which version of nextcloud do you use? Any errors in your javascript console?
I'm on Nextcloud 11.0.0 (stable)
my Vivaldi Browser says:
Uncaught TypeError: Cannot read property 'getItem' of undefined at track.js?v=ec9c03f…:8 at track.js?v=ec9c03f…:81 (anonymous) @ track.js?v=ec9c03f…:8 (anonymous) @ track.js?v=ec9c03f…:81
and:
Uncaught SyntaxError: Unexpected token o in JSON at position 1
at JSON.parse (
But I'm no expert at all on javascript...
Can you try to remove the OC.
from https://github.com/sualko/owncloud_piwik/blob/master/js/track.js#L8 and https://github.com/sualko/owncloud_piwik/blob/master/js/track.js#L23?
Wow, that worked for me!
I try to set my settings in the administration panel, but I got this error:
"Undefined index: HTTP_HOST at /var/www/nextcloud/apps/piwik/appinfo/app.php#24"
Still it wont show my settings in the administration panel but "occ config:list | grep piwik" shows:
"piwik": "{\"siteId\":\"1\",\"url\":\"\/\/mytopleveldom.ain\/piwik\/\",\"validity\":86400}",