Overlay plugin problem with nested Piwik instances. #4252
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
worksforme
The issue cannot be reproduced and things work as intended.
Milestone
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.
The text was updated successfully, but these errors were encountered: