IFRAME Widgets not working anymore


(baschan) #1

Since the Update to 0.8 i can’t embed iframes widgets to other sites anymore.

There is an example link under “widgets” in the main navi. This link is not working anymore. When I click on it, it just takes me to the login screen. (“Widgetize the full dashboard" --> "see example”).

The same thing is happening when i want to access it from external website with the piwik token.

/index.php?module=Widgetize&action=iframe&moduleToWidgetize=Dashboard&actionToWidgetize=index&idSite=1&period=week&date=yesterdaytoken_auth=XXXXXXXXXXX

This link just takes me to the login screen.

When I call the “normal” API with the piwik token it works just fine

/index.php?module=API&method=VisitsSummary.get&idSite=81&period=day&date=today&format=xml&token_auth=XXXXXXXX

Has there been made a change that I missed? Or can anyone reproduce this error?

Thanks alot.

Update:

In a second installation i just updated, the error does not appear. Does anyone have a clue how to fix it?


(Matthieu Aubry) #2

This is a known bug / regression: http://dev.piwik.org/trac/ticket/1546


(DriverDan) #3

Any idea where in the code the issue is? This is a major problem for our company I need to fix. I can allow anon access as a workaround but I’d really rather not do that.