Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XAMPP error: Token mismatch

I am using xampp on chrome in a mac and I can't access phpMyAdmin. I used to get a error on the site, but I changed the session.save_path in the configuration file and it opened put now every time I try to press something it gives me an error saying Error: Token mismatch.

Here is the error I am getting:

Here's a link of the same image: http://ninjas.zxq.net/error

Does anybody know why this is happening?

like image 552
Quar Avatar asked Jul 11 '13 19:07

Quar


People also ask

What is token mismatch error?

The “Invalid or missing CSRF token” message means that your browser couldn't create a secure cookie or couldn't access that cookie to authorize your login. This can be caused by ad- or script-blocking plugins or extensions and the browser itself if it's not allowed to set cookies.

What is security token mismatch in Navy?

Security token mismatch. Please refresh the page! This error usually means that on your website's server the session folder is not writable or doesn't exists, probably isn't even set. This is about the 'session.save_path' setting in the php.ini of the server.


1 Answers

I 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"

by removing the semicolon. This worked for me right away.

like image 200
MrDirby Avatar answered Nov 12 '22 12:11

MrDirby