Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

Adminer error "Invalid CSRF token. Send the form again" with nginx + php-fpm setup

I'm getting the "Invalid CSRF token" error on Adminer. I'm able to log in, but sending any form after logging in (e.g. create table, log out) always result in the error. I already set the session.save_path into a writable path as suggested here and test it, but the error persists.

The nginx error.log only catches error when I try to log out. In case it might help, here's the log: error.log

Based on my limited knowledge of php, I think the adminer is having a problem with database connection but I have no further clue as to how or why.

I'm using Adminer 4.7.8 on Nginx + php-fpm 7.4.

Any idea or help would be greatly appreciated


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...