Jump to content

What is this "invalid token" on a white blank page that keeps comming up.


durangod

Recommended Posts

Hi,

 

We all know how frustrating it can be to type a whole email template and all that text, then hit save and all of a sudden you get a white page that says "invalid token" and so you hit the back button and all your text is gone.

 

Yes i know i should save more often, and yes i usually always copy the text before hitting save just to be sure i can put it back, but i did not do either this time and it really upsets me that now i have to retype all that text all over again.

 

I think it has something to do this session or cookie, but then again when i refreshed the page it did not log me off, so it is not session or cookie i dont believe.

 

Dont the developers understand that we have no idea what the heck "invalid token" means, why dont they put some text up there so we know what is going on? Oh wait maybe its a national secret what the &^&^ a token is! lol Come on people i swear dont you test this stuff anymore..

 

 

Does anyone know what this is and why it happens so i can avoid it, every time i see it i want to choke somebody lol...

 

Thanks.

Link to comment
Share on other sites

Hello,

The "Invalid Token" message is referencing that the session has expired. However we do have a case where multiple tabs or moving into the client area while having a separate tab is a bug within the software. We do have an available patch for this which is noted here:

 

http://forum.whmcs.com/showthread.php?52402-Invalid-Token-Errors

 

However, another point to check into is PHP variables regarding your session information. This can be viewed via a phpinfo() page, or $ php -i|grep ^session\.

Link to comment
Share on other sites

Thanks Chris and thanks James, im just wondering why if its a session issue it did not log me off. Should'nt it have if the session was lost or timed out?

 

Thanks for the post link, however i will decline to do a ticket at this point, seems as though others have that in hand and maybe when they resolve this (as i did not have both client and admin open just admin) then maybe they will post a patch. I see no reason to open a ticket to just have someone say wait for the patch.

 

Thanks everyone, ill just deal with it till then

 

peace

Edited by durangod
Link to comment
Share on other sites

Sorry im just alittle stressed here, and tired, i got all this goin on, and i got my first hosting customer yesterday and i want to make sure everything goes perfect, i was up all night watching my email in case they had a question.

 

I will do a ticket probably tomorrow and get the patch and see if that does it.. Thanks again... :)

Link to comment
Share on other sites

Hello,

 

This was answered. Let me know via ticket if you continue to have issues.

 

Thanks!

 

Yes ssorry Chris i downloaded and then i had to get some sleep and i wanted to wait till i got the patch in place before i did anything else.

 

The patch is in place and so far so good, we will see what happens over the next few days as i will be using it quite a bit more than usual.

 

Thank you again Chris for your help, and your understanding and patience.

 

Peace and enjoy your evening. I will go ahead and log in and close the ticket.

Link to comment
Share on other sites

Chris, nope got invalid token again sir this morning, this time i was doing an addon product. I dont understand if it is session ending it should log me off, but it does not sir. I am able to continue as normal once i go back but of course my work i did is gone. Somewhere the session is triggering this when it should not, or it is triggering it correctly and its not logging me off like it should..

 

Anyway Chris sir just wanted to let you know the patch did not work in my situation.

 

Thanks..

Link to comment
Share on other sites

Will do :) Briefly i was doing a template and i left the edit open on it as i was called away and got back about 20 min later and hit save and thats when it happened. Same deal with the addon product. So i do think you may be correct as far as it has something to do with the session or cooke expiring but it maybe just be a simple error trap deal that is not processing correctly, and instead of just loging me off as it should, it tosses that error.

 

But i will take note of everything that is going on for you next time.

Edited by durangod
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