PhpMyAdmin Error: Mismatch Token

后端 未结 8 653
感情败类
感情败类 2021-01-12 05:10

I\'ve just recently been getting an error in my local installation on installed on apache on xampp. I\'m running v4.0.5 of phpmyadmin. The error description is Error: Mismat

相关标签:
8条回答
  • 2021-01-12 05:16

    I had an extra "/" in my browser path. Removed that an it worked for me...

    0 讨论(0)
  • 2021-01-12 05:22

    This error may appear if your website has a Content-Security-Policy header that is too restrictive.

    This header caused the "Mismatch token" error for me:

    content-security-policy: default-src 'self'; style-src 'self' 'unsafe-inline';
    

    By adding script-src 'self' 'unsafe-inline'; the error disappeared:

    content-security-policy: default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline';
    

    More info: https://content-security-policy.com/

    0 讨论(0)
  • 2021-01-12 05:24

    I too came across a same issue. I tried many ways, like clearing cache, managing more space for my /tmp directory. But at last I solved this issue by removing the unwanted files from my server & managing free space on my server.

    You can check here how I have done that. Error: Token Mismatch PhpMyAdmin Cpanel Solved

    0 讨论(0)
  • 2021-01-12 05:32

    Changing session.save_path in php.ini to "/tmp" worked for me, RedHat6.

    0 讨论(0)
  • 2021-01-12 05:34

    Had the same problem. Solved it by changing following:

    $token_mismatch = true;
    

    to

    $token_mismatch = false;
    

    in \xampp\phpMyAdmin\libraries\common.inc.php

    0 讨论(0)
  • 2021-01-12 05:34

    To resolve, try the following:

    Delete cookies from 127.0.0.1.
    Try to reproduce the problem in a different browser.
    

    Does this help?

    0 讨论(0)
提交回复
热议问题