Symfony 3.0.1 CSRF token present but invalid

前端 未结 7 2451
刺人心
刺人心 2021-02-14 09:33

I am having this strange issue with a fresh Symfony 3.0.1 installation. I generated a new CRUD Controller with a Form PostType which contains an url and a title. Nothing fancy.<

7条回答
  •  闹比i
    闹比i (楼主)
    2021-02-14 10:13

    I had the same on env=dev but not on preprod (symfony 4.4)

    --Solution--

    There was missing sessions dir in the root I have created one then the problem solved.

    cheers

提交回复
热议问题