Skip to content
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

Overlay plugin problem with nested Piwik instances. #4252

Closed
mgazdzik opened this issue Oct 28, 2013 · 2 comments
Closed

Overlay plugin problem with nested Piwik instances. #4252

mgazdzik opened this issue Oct 28, 2013 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@mgazdzik
Copy link
Contributor

I found possible issue with Piwik installed in a subdirectory. While trying to enter Overlay mode in nested instance from Actions->Pages report I got alert stating that I don't have view access for idSite = 1.

After browsing console I found out that there was one API request going to top-level directory, instead of the subdirectory.
Request is:
www.domain.com/index.php?module=API&method=Overlay.getTranslations&auth=.......&idSite=1&period=month&date=today&format=JSON&filter_limit=-1&jsoncallback=jQuery16408559084439757436_1382951978863&_=1382951980754

After pasting the same URL with proper sub-folder like:
www.domain.com/subfolder/index.php?module=API&method=Overlay.getTranslations&auth=.......&idSite=1&period=month&date=today&format=JSON&filter_limit=-1&jsoncallback=jQuery16408559084439757436_1382951978863&_=1382951980754

resulted in proper output.

I think it could be caused by client.js file where API request is constructed.

@mattab
Copy link
Member

mattab commented Oct 28, 2013

Can you try with 2.0-beta release? a similar bug was fixed, maybe it will work for you?

If not please comment, we will investigate.

@mattab
Copy link
Member

mattab commented Dec 26, 2013

Please comment or re-open if it still not working with 2.0+

@mgazdzik mgazdzik added this to the 2.0.3 - Piwik 2.0.3 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants