thequestion Posted December 3, 2013 Share Posted December 3, 2013 I found that the error went away after clearing my browser cache. Link to comment Share on other sites More sharing options...
mdykhouse Posted December 5, 2013 Share Posted December 5, 2013 Hi all, I just recently moved WHMCS to another server, propagated DNS and re-issued my license. Now I'm getting invalid token errors on various pages. Any ideas what I should be looking for on the new server to make sure its configured properly? Link to comment Share on other sites More sharing options...
whrucrb Posted December 6, 2013 Share Posted December 6, 2013 I have the "Invalid Token" error issue after upgrading to v5.2.14. Submitted a support request on 12/5/13. I have cleared the cache in the system, cleared the cache in my browser (IE 10 and Chrome), and preformed a re-upload of the v5.2.14 installation files and still have the error. I am still waiting for a reply since yesterday. I am very frustrated as this error appears when I am trying to create a manual invoice. They seem to not seem to not think it is that important. I am not a happy camper. FYI - This quick fix does not work either: /http://www.randallkent.com/whmcs/whmcs-invalid-token-error-resolved Link to comment Share on other sites More sharing options...
WHMCS TedX Posted December 9, 2013 Share Posted December 9, 2013 What would help are: What version of PHP are you running? What page, specifically, has the error? Can you list the steps necessary to recreate the error? Link to comment Share on other sites More sharing options...
Chris-M Posted December 16, 2013 Share Posted December 16, 2013 We were able to fix this by checking that PHP sessions were working - it turns out the permissions of the session.save_path from /etc/php.ini were incorrect after the recent PHP 5.3.3-27 update from the CentOS repository which was released on Dec 12. You can check if sessions are working by running the following PHP script: <?php error_reporting(E_ALL); ini_set('display_errors','On'); session_start(); $_SESSION['test_var'] = '1'; if ($_SESSION['test_var']): echo "Sessions work"; else: die('Sessions do not work!'); endif; ?> If your sessions are not working, check the permissions on your session.save_path directory with the following command (replace /var/lib/php/session with your session.save_path if different): chmod 1733 /var/lib/php/session This should look something like: drwx-wx-wt 2 root apache 38064128 Dec 16 11:46 /var/lib/php/session You can fix the permissions with: chmod 1733 /var/lib/php/session Hope this helps anyone else with the same problem. Cheers, Chris Link to comment Share on other sites More sharing options...
WHMCS Nate Posted December 17, 2013 Share Posted December 17, 2013 This thread is no longer a bug report thread. Since the people reporting issues have been fixed, I am going to close this thread. Link to comment Share on other sites More sharing options...
Recommended Posts