"No data" errors in widget page with token_auth parameter


(eray) #1

I use Piwik 0.9 version,

I wanted to see the dash board without login page, so I put the token_auth parameter in the iframe tag.

I could see the widget page successfully, but it always says there is no data

(if I login in another window, or give “view” permission to anonymous it works properly)

I searched the board, and found the code below

if(Piwik::getModule() === ‘Widgetize’)
{
$tokenAuthAPIInUrl = Piwik_Common::getRequestVar(‘token_auth’, ‘’, ‘string’);
if( !empty($tokenAuthAPIInUrl))
{
$auth->setLogin($login = null);
$auth->setTokenAuth($tokenAuthAPIInUrl);
return;
}
}

but, it seems like the solution for order version…
I tried that code, but the problem is not solved.


(Matthieu Aubry) #2

Known bug: http://dev.piwik.org/trac/ticket/1353