grbesicb Posted November 11, 2017 Share Posted November 11, 2017 Hello everyone! I'm running WHMCS on cPanel and I'm getting "Invalid CSRF Protection Token" anytime I try to edit/save something. What I've tried so far: 1. Changing PHP version - didn't help 2. Changing sessions path - didn't help 3. I've checked sessions permissions - didn't help Any ideas on how to fix this issue? 1 Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted November 11, 2017 Share Posted November 11, 2017 Hey @grbesicb You can disable CSRF Checks under Setup > General Settings > Security. Just to check your IP isn't changing frequently or anything similar? Link to comment Share on other sites More sharing options...
grbesicb Posted November 11, 2017 Author Share Posted November 11, 2017 Just now, WHMCS ChrisD said: Hey @grbesicb You can disable CSRF Checks under Setup > General Settings > Security. Just to check your IP isn't changing frequently or anything similar? Any way to disable it through the config file or something like that? I can't edit nor save anything. No, it doesn't change frequently. Link to comment Share on other sites More sharing options...
grbesicb Posted November 11, 2017 Author Share Posted November 11, 2017 Okay, so I managed to fix it by switching to other browser, disabling CSRF Checks and then enabling them again. Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted November 11, 2017 Share Posted November 11, 2017 3 minutes ago, grbesicb said: Okay, so I managed to fix it by switching to other browser, disabling CSRF Checks and then enabling them again. Hmm that indicates you might have had a browser issue, clearing up the cookies and cache might help in this case Link to comment Share on other sites More sharing options...
Recommended Posts