Jump to content

getting invalid token on my apache virtualhost


Recommended Posts

Hello,

 

I'm running 2 websites on my server.

 

when i put whmcs on my main website it works just fine.

but when i move it to my second domain (virtualhost) I'm getting invalid token on every change i'm trying to do in my admin section....

 

what can be the problem?

Link to comment
Share on other sites

The "invalid token" message would indicate 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.

Link to comment
Share on other sites

The "invalid token" message would indicate 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.

 

hmm but how can it happen if its virtual hosts on the same server, the php configuration is the same for both of them...?

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.

Guest
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