Dashboard bugs after update


(tabouet) #1

Hello,

Excuse me if my english is bad but I’m french…

I have juste updated piwik to 0.6.4
All works good, but when I go to dashboard as admin, I don’t see the widget and I can’t add one style_emoticons/<#EMO_DIR#>/unsure.gif

What can I do ?

Thanks
Alexis


(TKofl) #2

Hello,

we have a piwik 0.5.4 and upgraded to 0.6.4.

If we logon to the backend as admin-user, the website is rendered, but the dashboard is not empty. We get the following javascript errors:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; MS-RTC LM 8; .NET4.0C; .NET4.0E)
Timestamp: Thu, 22 Jul 2010 12:47:49 UTC

Message: ‘jQuery’ is undefined
Line: 19
Char: 5
Code: 0
URI: xx./tmp/assets/fcfb92928a4c1859d3085756ac18e474.js

Message: Object expected
Line: 72
Char: 2
Code: 0
URI: xxx/index.php?module=UsersManager&action=userSettings&idSite=2&period=day&date=today

So far no errors in the httpd error log.

Any help is really welcome.
Thanks,
Thomas


(Ratgeber) #3

Exactly the same here after updating from 0.6.3 (auto-update). Can’t see statistics after login, but have access to administration area, which works fine. Restarted FF, checked with Safari. Maybe an issue only on Mac? I had the same trouble after updating to 0.6.3, but restarting FF fixes this.

Ratgeber


(Matthieu Aubry) #4

can you try and delete tmp/assets/* and refresh?


(Matthieu Aubry) #5

can you please look at your apache error logs and see if you have any piwik errors? usually you would, as white page means errors… Any javascript error?

try also delete tmp/assets and create it again with chmod 755


(TKofl) #6

Thanks for the tip, I deleted the whole tmp/* plus subfolders, same result. Really strange …


(macada) #7

Hi all,

same for me. I cant see any widget after auto-upgrade.
There is no error apache logs.
I deleted templates_c/ files (smarty files) and still the same.
But I can go to admin control settings in my piwik.

any help?

Thx a million.

cheers


(Matthieu Aubry) #8

please post a comment with screenshot of the full page in the ticket: http://dev.piwik.org/trac/ticket/1497#comment:3

thanks


(Matthieu Aubry) #9

did you also delete /tmp/assets/* ? is the dir created and with 755 permissiosn?


(macada) #10

Even with 777 in the folder we still have problems

macada@server:/dir/to/piwik/tmp$ ls -la
total 2
drwxr-xr-x 7 www-data www-data 176 2010-07-21 23:52 .
drwxr-xr-x 13 www-data www-data 656 2010-07-21 23:52 …
drwxrwxrwx 2 www-data www-data 160 2010-07-22 20:02 assets
drwxr-xr-x 3 www-data www-data 72 2010-01-14 17:38 cache
drwxr-xr-x 2 www-data www-data 160 2010-07-21 23:52 latest
drwxr-xr-x 2 www-data www-data 104 2010-07-22 16:03 sessions
drwxr-xr-x 2 www-data www-data 1904 2010-07-22 16:25 templates_c

macada@server:/dir/to/piwik/tmp/assets$ ls -la
total 0
drwxrwxrwx 2 www-data www-data 160 2010-07-22 20:02 .
drwxr-xr-x 7 www-data www-data 176 2010-07-21 23:52 …

I have found something interesting. If I see dashboard page source code I can see this:

<span class="header_full"> 
<a href='misc/redirectToUrl.php?url=http://piwik.org' target='_blank'> Piwik 0.6.4</a> is a collaborative project. <br /> If you're a fan of Piwik, you can help! Check out <a target='_blank' href='misc/redirectToUrl.php?url=http://piwik.org/contribute/'> How to participate in Piwik?</a> 
</span> 
</span>    </div> 
<div id="ajaxLoading" style="display:none"><div id="loadingPiwik"><img src="themes/default/images/loading-blue.gif" alt="" /> Loading data... </div></div> 
<div id="loadingError">Oops&hellip; problem during the request, please try again.</div>
<div id="content" class="home"> 
</div> 
<div class="clear"></div> 
</div> 
</div> 
</div> 
</body> 
</html>

Is there any way of doing again the upgrade? Could it be unfinished?

Thx a million


(TKofl) #11

Thanks, posted in the trac.


(Matthieu Aubry) #12

any error in your error logs? assets directory permission look good, probably a fatal error. Try to set display_errors = on in php.ini and report errors


(Donni) #13

Hi all,
i have the same problems.

Here the Javascript Error from the dashboard: ( IE8 )

Meldung: ‘widgetParameters.viewDataTable’ ist Null oder kein Objekt
Zeile: 1197
Zeichen: 266
Code: 0
URI: XXXXX/piwik/tmp/assets/808e810e6944f2f77db06aa827a9f4dc.js

All other pages work well, but not the dashboard.

Thanks
Donni


(Innocentus) #14

Can you give me the link to the trac-ticket? I would like to check the status and possibly added patches / walkarounds for this problem.

Thank you in advance!
With best regards
Inno


(Matthieu Aubry) #15

http://dev.piwik.org/trac/ticket/1497


(Innocentus) #16

Hi,

what is the status-quo now? Are already updates / walkarounds available for this problem?
How will I be informed when a solution became available?

Wouldn’t be better to put back this piwik update until this error has been solved

  • because the Dashboard is an important and central component of piwik (f. ex. the Live Visitors-plugin)?

With best regards
Inno


(Matthieu Aubry) #17

I have posted the fix (I hope) in the ticket, please try it out and let’s keep the discussion in trac


(Innocentus) #18

It hadn’t helped - I get the following javascript error:

Error: widgetParameters is undefined

With best regards
Inno


(Matthieu Aubry) #19

did you delete tmp/assets/* first?

if you still get the error please send piwik URL + login/pwd by MP or matt atttt piwik.org


(macada) #20

After enabled display_errors=on there is no logs, no message and Im very dissapointed.

I love piwik and I know you are doing a great job but my piwik isnt working properly in my server after the uptomatic upgrade.
I have configured more than 30 domains for my customers and I have got lots of complaints these days.

I have done almost everything:

  • delete files of assets directory
  • change 777 assests directory and their files
  • I have downloaded piwik again (latest.zip) - manual upgrade.

I dont know wht have to do for fixing this issue.

Any help is very welcome.

Cheers