-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Websites drop-down list and All Websites Dashboard view not working #5170
Comments
Thanks for the report. Can you try to delete the files in piwik/tmp/assets/ and then open this URL you pasted above -> does it show the Javascript? do you see any error in your server error log? |
When I open the above link it shows me the javascript code. 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 |
Hey andreij, 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)? |
Done. |
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
To be concrete your server seems to redirect all 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 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
The text was updated successfully, but these errors were encountered: