thinkphp how the token exception is resolved

Source: Internet
Author: User
Thinkphp token error How to solve
Is this, my program with thinkphp do, before the addition is normal, in the use of the Create method when there is no form token error situation, but today do not know how, all of the additions have appeared "form token error", I looked at the web is added in the template {__notoken __} Yes, I added it, but it didn't. Excuse me, what is the reason for this situation?

------Solution--------------------
2.0 version of the words, we recommend you upgrade, 2.0 version has a bug
------Solution--------------------
I used it before. Seems to have this bug, can he turn off
------Solution--------------------
Version 2.x is either upgraded 3.0
Either turn off form token validation.
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.