probo Posted July 15, 2015 Share Posted July 15, 2015 Invalid CSRF Protection Token Keeps logging admin out. Please check. 1 Quote Link to comment Share on other sites More sharing options...
probo Posted July 15, 2015 Author Share Posted July 15, 2015 Also, Some bugs or weird stuff happening in the version 6 update. I did not have this problem in 8 years of WHMCS operation. 1) Unable to mark invoice as Paid, 2) Unable to apply credit 3) Client account Magically shows credit ( Which can cost my business loss) 4)unable to save certian things, multiple tryes required More comming 0 Quote Link to comment Share on other sites More sharing options...
ukndoit Posted August 4, 2015 Share Posted August 4, 2015 I am seeing this message too, but only when I click on "Addons" to view the addons directory... -Richard - - - Updated - - - also, I did try to logout and back in. I tried logging out, clearing cache, and then logging in, all same issue. 0 Quote Link to comment Share on other sites More sharing options...
ukndoit Posted August 4, 2015 Share Posted August 4, 2015 I had to reboot my dedicated server because of some issues and it fixed this for me. maybe you need to see if your host can restart your server you are on, which may be hard if on a shared server... -Richard 0 Quote Link to comment Share on other sites More sharing options...
McGuyver Posted August 11, 2015 Share Posted August 11, 2015 Invalid CSRF Protection TokenKeeps logging admin out. Please check. Unfortunately it seems that the problem is not a recent. I found the post above and for me the problem was been solved: randallkent.com/whmcs/whmcs-invalid-token-error-resolved In short add the following line at the end of your configuration.php file: session_name("WHMCS"); Try it! ;-) 0 Quote Link to comment Share on other sites More sharing options...
zee Posted August 14, 2015 Share Posted August 14, 2015 I have the same problem, what was the solution ? 0 Quote Link to comment Share on other sites More sharing options...
Ptilly Posted August 15, 2015 Share Posted August 15, 2015 I am having the same issue, Sadly adding 'session_name("WHMCS");' to the configuration.php line does not fix the issue. 0 Quote Link to comment Share on other sites More sharing options...
Web Host Pro Posted August 24, 2015 Share Posted August 24, 2015 (edited) <p> Looks like I just joined the club, just wish things would work. I get this error when trying to upload a file for customers to download. I have the download folder set to 777. I also added the path tot he download and that says the file does not exist even though it does.</p> <p> I read in another post that the security token times out. How do we extend the time for the security token. When uploading a big file it will take a while. Maybe 20 minutes.</p> Edited August 24, 2015 by chaze 0 Quote Link to comment Share on other sites More sharing options...
hardbrasil Posted November 1, 2015 Share Posted November 1, 2015 this start to happen to me when i change chmod of php session. try this (solve for me): chmod 1777 /var/lib/php/session 0 Quote Link to comment Share on other sites More sharing options...
bayden10 Posted November 12, 2015 Share Posted November 12, 2015 Same issue after rebuilding apache. It may have something to do with PHP. I manage some WHM boxes and adding 0 to mbstring.func_overload to allow for some Joomla installations, we started seeing this error within WHMCS when saving or editing products/services. We will reset PHP later tonight and give an update. 0 Quote Link to comment Share on other sites More sharing options...
owengreaves Posted November 12, 2015 Share Posted November 12, 2015 I was getting the token error, it stopped after upgrading PHP to 5.5.30 - but I don't know why or how it solved the problem, just that the upgrade seems to have made it go away. 0 Quote Link to comment Share on other sites More sharing options...
totallytech Posted February 22, 2016 Share Posted February 22, 2016 Hey, I get this error, I've googled and followed suggestions such as adding 'session_name("WHMCS");' however this has not fixed it. I get the error if I try to save a setting if its been longer than around 40 seconds since I logged in. Any ideas? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted February 23, 2016 WHMCS Support Manager Share Posted February 23, 2016 Hi, Specifying a session_name value in the configuration.php file will likely make matters worse. This behaviour has three potential causes: Your internet connection's IP address has changed since logging in (most frequently happens on mobile broadband) Your PHP configuration is not detecting your actual IP address in the HTTP_CLIENT_IP or HTTP_X_FORWARDED_FOR values There is a problem with the PHP session configuration To work around this temporarily, once can disable Session IP Check under Setup > General Settings > Security tab. 0 Quote Link to comment Share on other sites More sharing options...
Sajibe Kanti Posted March 23, 2021 Share Posted March 23, 2021 From Server Terminal php -i | grep session.save_path Then Set this Value in php.ini File & Get Fix 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.