karsten
(Karsten Krohn)
February 27, 2012, 7:42am
1
Hi!
After updating from 1.7 to 1.7.1:
Chrome 19dev : The dashboard only shows the header-logo etc and the tablehead of the dashboard, but there’s not a single row of data.
There’s JS-Error message:
SyntaxError: Unexpected token if [PATHTOPIWIK/index.php?module=Proxy&action=getJs&cb=23c215a9aa555e98c507653ab799277d:322]
Firefox 9 and IE9 Dashboard showing up, but each widget telling me “no data available”.
Any advise? Thanks.
I temporarely disabled the plugins, but that’s not the source of the problem.
I am not using the cron (I can’t because my hoster does not let me…)
sebigbos
(sebigbos)
February 27, 2012, 8:27am
2
Hi,
same here, only header is shown, but no syntax-error displayed in firefox. IE gives the following message in the status bar:
Details zum Fehler auf der Webseite
Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
Zeitstempel: Mon, 27 Feb 2012 08:30:51 UTC
Meldung: ‘}’ erwartet
Zeile: 1272
Zeichen: 409
Code: 0
URI: http://piwikdomain/index.php?module=Proxy&action=getJs&cb=b49cb5459b9562cc5515f9da55c09721
Meldung: Objekt erwartet
Zeile: 132
Zeichen: 5
Code: 0
URI: http://piwikdomain/index.php?module=CoreHome&action=index&idSite=2&period=day&date=yesterday
sebigbos
(sebigbos)
February 27, 2012, 8:56am
3
I got it solved accidently:
uploaded old index.php (1.7), got lot of error messages…
erased directories tmp/assets and tmp/templates_c …
uploaded the new index.php (1.7.1) again…
erased directories tmp/assets and tmp/templates_c …
all working perfectly now!
karsten
(Karsten Krohn)
February 27, 2012, 9:17am
4
Can confirm.
After erasing data in tmp/assets and tmp/templates_c everything is working.
matthieu
(Matthieu Aubry)
February 27, 2012, 9:43am
5
karsten
(Karsten Krohn)
February 27, 2012, 10:13am
6
Hi Matt,
is it possible to integrate step 2 (Delete all files in piwik/tmp/) into the update process, so that this is done automaticly?
BTW: You do not want to delete the .htaccess-files in piwik/tmp/
Regards,
Karsten
matthieu
(Matthieu Aubry)
February 27, 2012, 8:34pm
7
It is already done but for some reason does not work for some users. If you want to debug it it’s welcome
we call Piwik::deleteAllCacheOnUpdate(); which in turns calls clear_compiled_tpl() which should delete templates