prathers
(Preben Sørensen)
November 27, 2018, 12:29pm
1
To reproduce this problem:
Go to Manage Users and select e.g ‘View’ for a user and accept.
Expected:
The user is granted ‘View’ permission on the website.
Actual:
After accepted, the screen returns to the user list without changing the user permissions.
Matomo v3.7.0
Lukas
(Lukas Winkler)
November 27, 2018, 1:14pm
2
Hi,
Do you get a modal like this:
If it still doesn’t work, please check your browsers Javascript console and the php error log for more information.
prathers
(Preben Sørensen)
November 27, 2018, 2:00pm
3
You’re right. It returns a 503
index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:231 POST https://webstat.domain.tld/index.php?date=2018-10-28,2018-11-26&format=JSON2&idSite=2&method=API.getBulkRequest&module=API&period=range 503
(anonymous) @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:231
q @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:226
(anonymous) @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:224
(anonymous) @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:258
$digest @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:269
$apply @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:272
(anonymous) @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:408
dispatch @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:5
r.handle @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:5
Lukas
(Lukas Winkler)
November 27, 2018, 2:01pm
4
In that case there is probably a PHP error (or timeout)
prathers
(Preben Sørensen)
November 27, 2018, 2:02pm
5
And how do I investigate? The problem started after upgrade to v3.7
Lukas
(Lukas Winkler)
November 27, 2018, 2:03pm
6
Check your PHP error log. (and/or webserver error log)
prathers
(Preben Sørensen)
November 29, 2018, 6:50am
7
PHP errorlog don’t handle 500 errors, but the access-log receives this:
POST /index.php?date=2018-10-30,2018-11-28&format=JSON2&idSite=2&
method=API.getBulkRequest&module=API&period=range HTTP/1.1" 503 629
"https://webstat.domain.tld/index.php?module=UsersManager&action=index&idSite=2&
period=range&date=previous30" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:64.0)
Gecko/20100101 Firefox/64.0
And the console:
index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:231 POST https://webstat.domain.tld/index.php?date=2018-10-30,2018-11-28&format=JSON2&idSite=2&method=API.getBulkRequest&module=API&period=range 503
(anonymous) @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:231
q @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:226
(anonymous) @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:224
(anonymous) @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:258
$digest @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:269
$apply @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:272
(anonymous) @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:408
dispatch @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:5
r.handle @ index.php?module=Proxy&action=getCoreJs&cb=62b58af6295258be7256a3a2de07a2bd:5
Is it a date format problem…?
Lukas
(Lukas Winkler)
November 29, 2018, 6:55am
8
Hi,
The access-log only tells you that an error occurred on this request, but without knowing what it is we can only guess.
Check your PHP config or contact your host to find out the exact error.
prathers
(Preben Sørensen)
November 29, 2018, 10:42pm
9
An upgrade to PHP v7.1 changed everything. Now it runs smoothly again
1 Like