Jump to content

Invalid Token Error


Recommended Posts

  • WHMCS Support Manager

If you spent a long time writing the ticket response it could be quite simply that your PHP session is expiring after loading the page and before submission. It's part of the cross site scripting protection the token checking. You can increase the session length on your server in the PHP config file and see if this rectifies the issue.

Link to comment
Share on other sites

  • 9 months later...
  • 6 months later...
  • 2 weeks later...
We struggled with the "Invalid Token" error for months and the patches never seemed to fix the issues. We finally stumbled across a resolution.


I just did a blog post on it - http://www.randallkent.com/whmcs/whmcs-invalid-token-error-resolved - Hope it helps!


I've tried the solutions suggested in your blog post individually and was not successful:

  1. I set the session_name value in configuration.php, and
  2. I upgraded to WHMCS 5.2.2

but the "Invalid Token" error persists.


Eric Pretorious

Truckee, CA

Link to comment
Share on other sites

  • 3 months later...
  • WHMCS Support Manager


There are no tickets in the Support queue anywhere near that old at the moment (in-fact none older than 24 hours at present).

If you've been waiting 2 days for a response please let me know the Ticket ID so I can take a look.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated