Upgraded to 2.4.0 - Can no longer access Settings

I have the same problem (described in the first post of this topic)

Same Error: Message is “502 Bad Gateway”.

I have the same problem (no Settings).
Both in Version 2.4.0 and now in 2.4.1.

Piwik runs on my Debian Wheezy Server.
Server Version: Apache/2.2.22 (Debian) PHP/5.4.30-1~dotdeb.1

I testet in Firefox 30.0 (Mac OSX Mavericks) and Chrome 35.0.1916.153 (Mac OSX Mavericks).

In both browsers i get javascript-errors in console.
I attached a screenshot of the chrome console (i blackened my domain).

[attachment 1822 piwik_chrome_console.png]

I also checked my apache2 error.log for this vhost.
I attached a screenshot as well (pathes and domain again anonymized).

[attachment 1823 piwik_apache2_error_log.png]

I hope this helps to solve the issue.

@bufallo your error seems to be a different one. Please make sure your apache serves *.html files and check the file permissions. Maybe apache does not have enough permission to read the files.

For those who cannot see the Settings link / the user name containing the “user menu” please make sure HTML files are served by your webserver. You might have to update nginx, apache, … config to allow HTML files. Also make sure the webserver has permissions to all files as mentioned before.

For those who can see the settings link but get an error when trying to open the setting page: Can you try to open those links:
http://YOURDOMAIN/index.php?module=UsersManager&action=userSettings&period=day&date=yesterday

http://YOURDOMAIN/index.php?module=CoreAdminHome&action=generalSettings&period=day&date=yesterday

http://YOURDOMAIN/index.php?module=UsersManager&action=index&period=day&date=yesterday

index.php?module=UsersManager&action=index&period=day&date=yesterday does not work
index.php?module=CoreAdminHome&action=generalSettings&period=day&date=yesterday does not work
index.php?module=UsersManager&action=userSettings&period=day&date=yesterday does not work

– HTML-Files are serving by our Webserver (nginx)
– the listed links gave the same Error-Messages: “502 Bad gateway”

how many of you still have the issues?

If you still have a problem, could you please check in your Brower Console to see there is any error message?

I still have this issue, I tried the direkt URLs and they produce the same error (Connection lost).

Our webserver is serving html files.

Cheers

Thorsten

Browser-Konsolen-Log ab dem AUgenblick, in dem ich over den Menüeintrag “admin” gehe:


this.sink is null network-monitor.js:177
DOM-Neuberechnung: 0ms Funktion _calcMouseTargetRect, tabbrowser.xml Zeile 4990
DOM-Neuberechnung: 0ms
DOM-Neuberechnung: 0ms Funktion fillInPageTooltip, popup.xml Zeile 612
DOM-Neuberechnung: 0ms
DOM-Neuberechnung: 0ms Funktion _calcMouseTargetRect, tabbrowser.xml Zeile 4990
DOM-Neuberechnung: 0ms Funktion _calcMouseTargetRect, tabbrowser.xml Zeile 4990
DOM-Neuberechnung: 0ms
DOM-Neuberechnung: 0ms Funktion _calcMouseTargetRect, tabbrowser.xml Zeile 4990
DOM-Neuberechnung: 0ms
DOM-Neuberechnung: 0ms
DOM-Neuberechnung: 0ms
Die Zeichenkodierung des HTML-Dokuments wurde nicht deklariert. Das Dokument wird in manchen Browser-Konfigurationen mit verstümmeltem Text dargestellt, wenn das Dokument Zeichen außerhalb des US-ASCII-Bereichs enthält. Die Zeichenkodierung der Seite muss im Dokument oder Transferprotokoll deklariert werden. index.php
DOM-Neuberechnung: 0ms
DOM-Neuberechnung: 15ms Funktion _calcMouseTargetRect, tabbrowser.xml Zeile 4990
DOM-Neuberechnung: 0ms
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create script-compiler.js:97
Mutations-Ereignisse sollten nicht mehr verwendet werden. Verwenden Sie MutationObserver stattdessen. script-compiler.js:135
DOM-Neuberechnung: 0ms
DOM-Neuberechnung: 0ms

Still have issue (there has been no upgrade?) and nothing is in console log, as no page actually loads.

andere Konsole:


Die Zeichenkodierung des HTML-Dokuments wurde nicht deklariert. Das Dokument wird in manchen Browser-Konfigurationen mit verstümmeltem Text dargestellt, wenn das Dokument Zeichen außerhalb des US-ASCII-Bereichs enthält. Die Zeichenkodierung der Seite muss im Dokument oder Transferprotokoll deklariert werden. index.php
Mutations-Ereignisse sollten nicht mehr verwendet werden. Verwenden Sie MutationObserver stattdessen. script-compiler.js:135

To all of you who still experience an issue with Piwik 2.4.1 can you please email thomas@piwik dot org with your piwik URL, login and password to see the problem, and also an explanation of the problem? Thomas will be able to help you and find the solution. Thanks!

im sure the problem is firefox. with IE i have the admin button.

with firefox i must view the visitorlog and change the site to get the admin button. But after that i cant add a url to a new site. (no field)

Hope it helps to find the Problem. :slight_smile:

FF31

best regards

Normaly i’m using Chrome 36 under OSX 10.9 and Win 7, but it does not work – so it has nothing to do with Firefox.
Now i tried Safari under OSX and it does not work too.

If the Link / Menu on the top right does not appear you want to have a look at How do I configure my server to let Piwik serve HTML files? - Analytics Platform - Matomo I reckon.

Test it with IE and im sure it works. Tested on 2 server.

Test it with IE and im sure it works. Tested on 2 server?


Dra - http://dracynthiamaiellaro.blogspot.com.ar/

Thomas was able to reproduce the error by installing PHP 5.3.6.

He made a patch that fixed the problem on our system:
https://github.com/piwik/piwik/commit/32528145387ce1043b0ad5b974dc8db82a95b462

Thank you very much, Thomas

Thorsten

Yep,

https://github.com/piwik/piwik/commit/32528145387ce1043b0ad5b974dc8db82a95b462 fixed the issue for me as well.

We were also running php 5.3.6