I do not know exactly since which version of Piwik I have this, but suddenly when I click on All Websites in the Top menu, Piwik just says: 0 - 4 of 4 and show an empty page.
Since I did not have the time to investigate this, I never post a forum topic. Now I have installed a fresh piwik installation with a new and empty database, and I have the same problem I have installed 2.3.0 and 2.6.1, both the same issue. The reason for me to use 2.3.0 is that Wesbiste Management is messed up when I install Piwik 2.4 <. For that I will post another topic.
For this issue, All Website dashboard is empty I attached a printscreen. I have searched for maybe a setting ‘show in all website dashboard’, but I cannot find such a setting, nor find anything regarding this issue on the forum. I tested in both Chrome and Firefox.
I will put my hand up as another person getting the second error: Error: [$compile:tplrt] Template for directive 'piwikMultisitesSite' must have exactly one root element. plugins/MultiSites/angularjs/site/site.html?cb=550bc51dcd8412e289966c53e41022f9 http://errors.angularjs.org/1.2.13/$compile/tplrt?p0=piwikMultisitesSite&p1…tes%2Fangularjs%2Fsite%2Fsite.html%3Fcb%3D550bc51dcd8412e289966c53e41022f9 at https://multisitenexus.com/piwik/index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:233:8 at https://multisitenexus.com/piwik/index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:537:944 at https://multisitenexus.com/piwik/index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:584:62 at wrappedCallback (https://multisitenexus.com/piwik/index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:735:833) at https://multisitenexus.com/piwik/index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:740:301 at Scope.$eval (https://multisitenexus.com/piwik/index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:762:1164) at Scope.$digest (https://multisitenexus.com/piwik/index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:759:413) at Scope.$apply (https://multisitenexus.com/piwik/index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:763:255) at done (https://multisitenexus.com/piwik/index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:594:81) at completeRequest (https://multisitenexus.com/piwik/index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:610:205) index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:659(anonymous function) index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:659(anonymous function) index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:570wrappedCallback index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:735(anonymous function) index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:740Scope.$eval index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:762Scope.$digest index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:759Scope.$apply index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:763done index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:594completeRequest index.php?module=Proxy&action=getCoreJs&cb=550bc51dcd8412e289966c53e41022f9:610xhr.onreadystatechange
I have tried clearing my cache files, tried over http and https... cant seem to figure out the cause. Stu
RIGHT and I has a resolution (at least for my particular case).
For future reference the cause was mod_pagespeed and the add_head filter. Essentially it was adding a rogue tag to the HTML file loading the dashboard which was giving the template compiler grief.
SO I just disabled it as I have no immediate need for it anyway.
Add Head is the location and I just added it to the DisableFilters directive in pagespeed.conf.
Oh and SSMPM yep looks like you have the same issue just checked the same HTML file (for your piwik install) and mod_pagespeed is adding the header tag (and some other funky stuff too)
I disabled mod_pagespeed and restart Apache. Then I refreshed the All Websites page in Piwik. After that I enabled mod_pagespeed again, restarted Apache and the All Websites page in Piwik keeps on working fine! No need to exclude Piwik from the mod_pagespeed.
And thanks to @pubuse. I was testing removing Add Head but you’re right, that’s not necessary. I disabled pagespeed, did a ‘service nginx reload’, refreshed Piwik to check that it worked, reenabled pagespeed, another ‘service nginx reload’ and checked that all is still good with Piwik.
Woot glad we are all sorted, and interesting I will have a play and see if I can get it to work while enabled, tho I am guessing you may have a cached working version somewhere so when that expires the problem may resurface.
Anyhoo haha I am just happy I can see my dashboard again