Closed hoalex closed 7 years ago
This is almost definite a php issue. What do you mean with "again"?
"Again" because of the previous issues here on Github that had the same error ;-)
Any advice on how I can begin troubleshooting the issue? If I disable the CSRF check in lines 9-13 in zones.php
, the site loads just fine. I guess somehow the CSRF token is not correctly interpreted (note that the Firefox console shows that a "X-CSRF-Token" is transmitted during the POST request).
Probably has something to do with the function on line 377 of misc.php?
I created a new file and ensured that the hash_pbkdf2() function works (it does). I also tried commenting out the function you mentioned, but the error still persists. :-(
Looking deeper, I found out that $found_token
is always null in the _check_csrf_token()
function (found in includes/session.inc.php
). $csrf_token
has the correct value, i.e. the one also sent by the browser...
Then it's probably an issue with php-fpm and Nginx where you are loosing $_SERVER[] stuff..
When trying to login, I immediately get "An error occured while communicating to the server.". I know that there were already similar issues, but after reading them I'm still not sure what causes the error.
This happens for me on a fresh install (pulled today from git-master). My system:
When loggin in with admin/admin, the site loads and immediately shows the following error message:![Screenshot](https://i.imgur.com/ijd5eTi.png)
Looking at the Firefox debug console, I can see that there are two HTTP POST requests to![Screenshot 2](https://i.imgur.com/2XXLvFa.png)
zones.php
which fail:I am not sure whether the error message is specifically caused by the 403, just a wild guess. PHP-FPM and nginx logs show no errors.
Regards Alex