I still have this problem. Websites drop-down list is showing me only one website and the All Websites Dashboard is not working. It gives me this error You can't access this resource as it requires an 'view' access for the website id = 1. Also The Visitor Map widget is not working, it throws this error TypeError: a is undefined
http://www.domain.com/piwik/index.php?module=Proxy&action=getCoreJs&cb=a4a4d02151e413a21b0c867f68bbc77d at Line 4
I am using Piwik 2.2.3-b4
Thanks for the report. Can you try to delete the files in piwik/tmp/assets/
do you see any error in your server error log?
I've deleted all files in piwik/temp/assets/ but it is the same error and I suppose it is generated by a script regarding Visitor Map because the map isn't loading. No errors on server log.
TypeError: a is undefined
to debug this issue we would probably need access to your Piwik instance. Is this possible? Would you mind creating a Piwik user for us and send us the credentials? You can delete the user afterwards again. If so, can you send the details to hello @ piwik.org and leave a comment afterwards here (in case mails goes into spam folder)?
I had a look and noticed the problem is a "301 Moved Permanently" redirect when the UI performs a POST request to the API.
For instance there is a redirect from
To be concrete your server seems to redirect all
http://www.yourdomain.xy/piwik/index.php requests to
The actual POST request contains your API auth token. This is needed for authentication and to make sure you have access to the requested website. As there is a redirect the auth token gets lost meaning there is no permission to view the page.
I have debugged the All Websites Dashboard as well as the Country Map and both fails because of this reason. Maybe you can have a look on the server and display this redirect?
You can delete the account again.
Thanks for support.
I've solved the problem.