@bastibeckr opened this issue on April 15th 2015

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 : )

@mattab commented on July 14th 2015

Thanks for the report @bastibeckr - I tried to reproduce but couldn't, it works for me even when tracking via /js/index.php, as can be seen in screenshot:

(the index.php request is /js/index.php)

Works on both firefox and chrome

can you still reproduce this bug with Piwik 2.14.0?

@mattab commented on July 15th 2015

If you can reproduce this problem in 2.14.0 @bastibeckr please re-open the issue.

This issue was closed on July 15th 2015
Powered by GitHub Issue Mirror