SergeyM Posted August 11, 2012 Share Posted August 11, 2012 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? 0 Quote Link to comment Share on other sites More sharing options...
IoxHost Posted August 12, 2012 Share Posted August 12, 2012 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. 0 Quote Link to comment Share on other sites More sharing options...
SergeyM Posted August 12, 2012 Author Share Posted August 12, 2012 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...? 0 Quote Link to comment Share on other sites More sharing options...
SergeyM Posted August 12, 2012 Author Share Posted August 12, 2012 o.k problem is solved, my session cookie were "secure connection only", while the new domain on the virtual host were not secured by SSL 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.