I can't add new site. i see only the one i created when install

I use the last version (3.13.3) and all is ok on the check system. (PHP 7.4.4)

When i click on the “save” button to add new site nothing happen.

On the console , i see a 500 server error for the call below :

matomo/index.php?method=SitesManager.addSite&module=API&format=JSON2&idSite=1&period=day&date=today

Request header

POST /matomo/index.php?method=SitesManager.addSite&module=API&format=JSON2&idSite=1&period=day&date=today HTTP/1.1
Host: XXXXXXXXXX
Connection: keep-alive
Content-Length: 1305
Pragma: no-cache
Cache-Control: no-cache
Accept: application/json, text/plain, /
Origin: https://XXXXXXXXXXX
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: https://XXXXX/matomo/index.php?module=SitesManager&action=index&idSite=1&period=day&date=today&showtitle=1&random=4934&showaddsite=1
Accept-Encoding: gzip, deflate, br
Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7
Cookie: matomo_lang=language%3DczoyOiJmciI7%3A_%3D775d65a98b023e9faa6a4a64288bc21ce9f2afd8; cookiesession1=157EC9D0LP2OEBDXTU4O81MACMLW7955; MATOMO_SESSID=ue7p9k5hic0aot696m94gb2mh2

No error on PHP error file.

I re-installed Mamoto twice , restarted server … same problem.

Hi,

500 indicates a server-side error.

Please check again and also take a look at your Nginx or Apache error log.

Was our WAF which blocked an Ajax Request.
Sorry for disturbance and confusion.

1 Like