I am getting this error on export of my database in adminer. Error: Invalid CSRF token. Send the form again. If you did not send this request from Adminer then close this page. Need Help
Invalid or missing CSRF token This error message means that your browser couldn't create a secure cookie, or couldn't access that cookie to authorize your login. This can be caused by ad- or script-blocking plugins, but also by the browser itself if it's not allowed to set cookies.
The problem for me was that the session cookie had the secure
flag, while I was accessing adminer via http only (not https).
Our nginx configuration had
fastcgi_param HTTPS on;
which I had to remove.
Try this!
chgrp nginx /var/lib/php/session
The problem may cause by session save path not writable. I have faced the same problem and I fixed it by above command. I use nginx but if you use another web server, just change it. Hope this helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With