jbman223 Posted June 15, 2013 Share Posted June 15, 2013 Whenever I try to update my settings, send a ticket, etc I get an "Invalid Token" message. I have researched this message online and have found no working solutions. I have already increased my Max Post Size. What else can I do to fix this? I am hosting my WHMCS on a Godaddy Deluxe Linux Shared Hosting Plan. Any help is greatly appreciated! 0 Quote Link to comment Share on other sites More sharing options...
Jason101 Posted July 2, 2013 Share Posted July 2, 2013 PROBLEM SOLUTION I was having this same issue. I was able to get into the admin panel (only after clicking remember me while I'm logged in box), but I couldn't save any forms. I just got "Invalid Token" and nothing else. My Config is: Windows Server 2012 x64 IIS 8 PHP 5.3 MySQL 5 I took some suggestions from around the net, and have updated my php.ini to include: post_max_size = 128M session.gc_maxlifetime = 1440 Still didn't work after that. It turns out, I had my session.save_path="C:\Program Files (x86)\PHP\Temp" and this directory was not writable by PHP. Once I added permissions to the IUSR account everything magically worked. No more invalid token, and no more ticking the box at login. Just be sure to clear your browser cookies after you make the setting. Hope this helps others. 0 Quote Link to comment Share on other sites More sharing options...
RFEHosting Posted July 3, 2013 Share Posted July 3, 2013 So i get this error when assigning tickets to a client id, on the other tab. And im on linux, this didn't used to happen. Wonder if it is related to the same issue? 0 Quote Link to comment Share on other sites More sharing options...
dm800pvr Posted August 22, 2013 Share Posted August 22, 2013 (edited) PROBLEM SOLUTION I was having this same issue. I was able to get into the admin panel (only after clicking remember me while I'm logged in box), but I couldn't save any forms. I just got "Invalid Token" and nothing else. My Config is: Windows Server 2012 x64 IIS 8 PHP 5.3 MySQL 5 I took some suggestions from around the net, and have updated my php.ini to include: post_max_size = 128M session.gc_maxlifetime = 1440 Still didn't work after that. It turns out, I had my session.save_path="C:\Program Files (x86)\PHP\Temp" and this directory was not writable by PHP. Once I added permissions to the IUSR account everything magically worked. No more invalid token, and no more ticking the box at login. Just be sure to clear your browser cookies after you make the setting. Hope this helps others. In linux I have ;session.save_path = "/tmp" Which is not active What should I do now? chmod to what? all other are same post_max_size = 128M session.gc_maxlifetime = 1440 UPDATE!!!!!!!! wow I just noticed that its firefox new crap bug update ( 23.0.1) chrome worked fine! Edited August 22, 2013 by dm800pvr 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.