Keep getting error and booted out on my forum

Avatar of biggyboss92
Posts 3 3

getting CSRF Invalid and booted out from my forum can someone help with how to fix errorbug?

Avatar of Fred
Posts 485 2173

Thanks for the report! A "CSRF Invalid" error combined with being logged out usually means your session got cleared server-side while you still had a page open. The security token in that page then no longer matches, and you appear logged out.
A few questions to narrow it down:

  • What version of Flatboard are you running, and are any plugins active?
  • Does this happen after leaving a tab open for a while (idle), or right away when submitting a form?
  • Do you have multiple tabs/windows of the forum open at once?
  • Did you recently change your own password or your account's group/permissions?
  • Is your forum behind a reverse proxy or CDN (Cloudflare, etc.)?
    In the meantime, could you check stockage/logs on your server for entries like:
  • CSRF validation failed
  • Session expired
  • Session migrated
    around the time this happens? That'll tell us exactly which mechanism is triggering it.
    Workaround (for now): Fully reload the page before submitting a form if you've had it open for a while. That refreshes the CSRF token and should avoid the error.
Navigation
2 Posts
post #1
26 Jul 2026
By Utilisateur
Statistics
188
Discussions
1,010
Replies
27
Flatboarders
6
Contributors
New member : biggyboss92
Online
15 Guests online