phpmyadmin token mismatch for long time idle

前端 未结 10 1595
醉酒成梦
醉酒成梦 2021-01-31 09:07

I installed phpMyAdmin 4.0.4.1 on my local develop enviroment, I set auth_type to config. Also I provide authentication requirements by th

相关标签:
10条回答
  • 2021-01-31 09:33

    ISSUE RESOLVED - I just cleared the browsing history and data for last 7 days. It solved the problem for me. Try it.

    0 讨论(0)
  • 2021-01-31 09:35

    Clearing your browser cache then it will work.

    0 讨论(0)
  • 2021-01-31 09:37

    To stop this issue, delete the "tmp" folder and make a new one called "tmp" or just clear the content.

    0 讨论(0)
  • 2021-01-31 09:39

    For me this seemed to be caused by my root partition being full up, and I guess this error was triggered by php being unable to write to the session directory.

    0 讨论(0)
  • 2021-01-31 09:40

    I had to turn my cookies on in my browser and it worked for me. (Using MAMP on OSX)

    0 讨论(0)
  • 2021-01-31 09:42

    in file libraries/common.inc.php

    line 1076
    delete this part

     /*
     * There is no point in even attempting to process
     * an ajax request if there is a token mismatch
     */
     if (isset($response) && $response->isAjax() && $token_mismatch) {
        $response->isSuccess(false);
        $response->addJSON(
            'message',
            PMA_Message::error(__('Error: Token mismatch'))
        );
        exit;
    }
    
    0 讨论(0)
提交回复
热议问题