Home  >  Article  >  Database  >  What should I do if a token mismatch prompt appears in phpmyadmin?

What should I do if a token mismatch prompt appears in phpmyadmin?

coldplay.xixi
coldplay.xixiOriginal
2020-07-20 11:06:062865browse

The solution to the token mismatch prompt in phpmyadmin: first open line 468 of [common.inc.php] under the libraries file in the phpmyadmin directory; then add [$token_mismatch = false]; finally save and restart. Can.

What should I do if a token mismatch prompt appears in phpmyadmin?

Solution to the token mismatch prompt in phpmyadmin:

Open ## under the libraries file in the phpmyadmin directory #common.inc.phpAdd the statement after line 468

$token_mismatch = true;
if (PMA_isValid($_REQUEST['token'])) {
    $token_mismatch = ($_SESSION[' PMA_token '] != $_REQUEST['token']);

:

$token_mismatch = false;

After saving: Restart the service

Recommended related tutorials:

phpmyadmin

The above is the detailed content of What should I do if a token mismatch prompt appears in phpmyadmin?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn