Overlay doesn't work when tracking script is ""js/index.php" #7684
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
worksforme
The issue cannot be reproduced and things work as intended.
Milestone
It seems that Overlay does only work when tracking-script is
/js/piwik.js
.After clicking the overlay button,
client.js
can not be served (404-error).After reading
/js/README
I decided to embed the tracking script via/js/index.php
for some reason.Overlay isn't a feature I use very frequently - it seemed broken, I blamed Apache/nginx-rewriting for this and planned to investigate deeper as soon as i got some spare time.
When the error also appeared on a second installation with completely different environment, i finally wanted to fix the problem.
The first request to overlay mode seems to load a blank page with just minimized Javascript:
/index.php?module=Overlay&action=notifyParentIframe
This script seems to build the framed page and tries to load
client.js
:Broken (tracking via
/js/index.php
):/js/index.phpplugins/Overlay/client/client.js?v=1
Works (tracking via
js/piwik.js
):/plugins/Overlay/client/client.js?v=1
Hope this save someone else's time - i got mad debugging nginx-redirects in order to find a missing trailing slash or something like that : )
The text was updated successfully, but these errors were encountered: