XAMPP Error: Token Mismatch

I am using xampp on chrome in my poppy and I cannot access phpMyAdmin. I used to get the error on the site, but I changed session.save_path in the configuration file, and now it opened when I try to click something that gives me an error, talking about the error: token mismatch.

Here is the error I get:

Here is the link of the same image: http://ninjas.zxq.net/error

Does anyone know why this is happening?

+7
source share
4 answers

I have found the answer.

Go to your php.ini file in applications> XAMPP> xamppfiles> etc. > php.ini

around line 1507 uncomment the line

 ;session.save_path = "/tmp" 

deleting a semicolon. It worked for me right away.

+15
source

just changing the tmp path was not enough for me .. confirm in your browser that you accept cookies and this ad unit, etc. disconnected.

although he said that if you managed to publish on this site everything that is probably under control :)

+1
source
  • Locate php.ini (php -i | grep php.ini) if nginx edit / etc / php 5 / fpm / php.ini if ​​using fpm.
  • Uncomment session.save_path = "/ tmp"
  • Restart apache or if you use nginx - restart /etc/init.d/php5-fpm
  • Check the / tmp directory to make sure sessions are saved there. if you see something like "sess_h820h8ja6pl4bhdmqflngeui23" then everything will be done.
0
source

I had the same problem, except that none of the answers solved my problem. (Localhost with Xampp on Windows 10 using Chrome.)

After a while, I realized that you had to manually delete browser cookies, etc., to allow it to update / reset the token.

0
source

Source: https://habr.com/ru/post/949265/


All Articles