[Solved]Dashboard not working and some other problem after updating to 1.8.3

Hi,

i’ve updated from Piwik 1.8.2. (I think) to Piwik 1.8.3. with the “The One-Click Piwik Update” ( http://piwik.org/update/#oneclick ).
Everything went fine, but I have a main problem: I can connect to the interface as usual, but nothing works in the dashboard.

Here’s a screenshot :


If I reload I get the same result, and if I try to restore the dashboard, to erase it or to create an other I get an error and nothing happens.

I can access to different informations individually, as the recap’ of the visitors, the titles of the entry pages, and so on.
But every time I click on a “+” to get more informations (as the detail of the files downloaded), I get an endless “loading” :

No idea what’s the problem, if anyone can help…

Ps : In /piwik/config/global.ini.php, I’ve changed before the update " session_save_handler = files" by “session_save_handler = dbtable” following the suggestion made at http://forum.ovh.com/showthread.php?t=76808&page=6
But this modification was erased during the update, why don’t you keep this kind of modification?

EDIT : see solution at http://forum.piwik.org/read.php?2,93043,page=1#msg-93146 I had some weird rewriting rule that does not fit piwik.

can you try to delete your browser cache and try again ? or try with a different browser?

But this modification was erased during the update, why don’t you keep this kind of modification?

All modifications must be made in the config/config.ini.php ie. you can copy paste the setting in the config.ini.php file, this one will not be modified in the update.

Hi,

thanks for your suggestions.

can you try to delete your browser cache and try again ? or try with a different browser?
Oh, I should have mentionned that : I’ve tried with Iceweasel 10.0.6, Chromium 20.0.1132.57, Opera 12.02, each time with the browser cache empty. My O.S. is debian, but I’ve tried with ubuntu and windows, too.

All modifications must be made in the config/config.ini.php ie. you can copy paste the setting in the config.ini.php file, this one will not be modified in the update.
Ah, ok, I didn’t know that, thanks.

do you see any error in your server error logs ?

No, I don’t see anything related to piwik in my server’s logs.

The error console of Web Develloper only gives me some warning about css properties I think.

Thanks for your patience.
Should I try a fresh installation?

can you try to setup the archiving as per: How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo
A fresh installation will maybe help, but probably not unfortunately!

Hi,

thanks again for your patience…
As I only have a mutualized server with OVH, setting Cron’s task is … let’s say not easy.

I’ve tried to go to
mydomain.org/path/to/piwik/misc/cron/archive.php?token_auth=/my_token/
but I get this message :


301 - moved permanently
[2012-09-02 14:53:34] [cb60223b] [5.58 Mb] NOTE: if you execute this script at least once per hour (or more often) in a crontab, you may disable 'Browser trigger archiving' in Piwik UI > Settings > General Settings.
[2012-09-02 14:53:34] [cb60223b] [5.58 Mb] see doc at: http://piwik.org/docs/setup-auto-archiving/
[2012-09-02 14:53:34] [cb60223b] [5.59 Mb] ---------------------------
[2012-09-02 14:53:34] [cb60223b] [5.58 Mb] INIT
[2012-09-02 14:53:34] [cb60223b] [5.59 Mb] Querying Piwik API at: http://mydomain.org/path/to/piwik/misc/cron/../../index.php
[2012-09-02 14:53:34] [cb60223b] [5.59 Mb] Running as Super User: admin
[2012-09-02 14:53:34] [cb60223b] [5.68 Mb] ERROR: The Piwik URL http://mydomain.org/path/to/piwik/misc/cron/../../index.php does not seem to be pointing to a Piwik server. Response was '
Moved Permanently

The document has moved here [ http://mydomain.org/path/to/piwik/?module=API&method=API.getDefaultMetricTranslations&format=php&trigger=archivephp
'.

Fatal error: The Piwik URL http://mydomain.org/path/to/piwik/misc/cron/../../index.php does not seem to be pointing to a Piwik server. Response was '
Moved Permanently

The document has moved here [ http://mydomain.org/path/to/piwik/?module=API&method=API.getDefaultMetricTranslations&format=php&trigger=archivephp].
'. in /homez.541/micrlab/www/tech/piwik/misc/cron/archive.php on line 556

If I try to get to http://mydomain.org/path/to/piwik/misc/cron/../../index.php, I get to the piwik panel as usual.

I erased my Piwik folder, updated the files anew, configured Piwik as it was the first time I use it, told to use again my old Database, but I get exactly the same strange behaviour…

Could my .htaccess be responsible?

Ps : I think I noticed a small bug : if I go to http://mydomain.org/path/to/piwik/misc/cron/archive.php, I have a message starting with
"You must specify the Super User token_auth as a parameter to this script, eg. &token_auth=XYZ if you wish to run this script through the browser."
But the url is not …misc/cron/archive.php&token_auth=XYZ, but …misc/cron/archive.php?token_auth=XYZ

Bingo : I’ve renamed my .htaccess and everything is working fine now.
I now have to find what’s wrong with it

Edit : in http://mydomain.org/path/to/piwik/ I’ve created a .htaccess that only contains


RewriteEngine Off

and everything is fine now.
I must have some weird rewriting rule that does not fit piwik.

Why don’t you add this simple file in the piwik folder in the basic installation?

Thanks for the report.

I fixed the typo in: http://dev.piwik.org/trac/changeset/6910

we could add the .htaccess, but i’m not sure as it could cause other side effects.

at least this forum post will help users with similar issue :slight_smile: