PhpMyAdmin Error: Mismatch Token

白昼怎懂夜的黑 提交于 2019-12-01 04:06:28

You can try the following

Find the XAMPP php.ini file and uncomment by removing the semi-colon:

session.save_path ="/tmp"

Then restart apache.

Did you change anything in your apache server config files?

if not,

open browser, clear all history(ctrl+shift+del), and restart browser, go to phpmyadmin page.

it works for me :)

Roshan Padole

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

Had the same problem. Solved it by changing following:

$token_mismatch = true;

to

$token_mismatch = false;

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

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

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

To resolve, try the following:

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

Does this help?

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/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!