Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bad CSRF token.
#1
Hi,
When I want to connect on my client are, I have an error :
"Bad CSRF token. Please make sure cookies are enabled."

I saw solutions on other topics but they don't work..

Can you help me?

Thx.
Reply
#2
When does this happen? On login?
Kevin Mark - TheHostingTool Lead Developer
Reply
#3
Yes on login
Reply
#4
Most likely this is due to a URL error. If you installed THT in example.com/tht/, you should visit it using example.com/tht/ and NOT www.example.com/tht/.

I may be wrong, but that was the solution for me the last time I got that error.
Remote Servers - Shared, Reseller & KVM Hosting Services
Reply
#5
(04-27-2014, 07:24 AM)Liam D. Wrote: Most likely this is due to a URL error. If you installed THT in example.com/tht/, you should visit it using example.com/tht/ and NOT www.example.com/tht/.

I may be wrong, but that was the solution for me the last time I got that error.
Thanks !
It works Wink
Reply
#6
Glad to see you got that fixed.
Remote Servers - Shared, Reseller & KVM Hosting Services
Reply
#7
If I'm not mistaken this issue is due to the fact that cookies for www and no www are handled separately.
Kevin Mark - TheHostingTool Lead Developer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)