Keep getting error and booted out on my forum

Avatar of biggyboss92
Posts 11 55

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

Avatar of Fred
Posts 497 2250

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.
Avatar of Fred
Posts 497 2250

@biggyboss92 I’m unable to reproduce the issue on my end. I haven’t been able to trigger the “CSRF Invalid” error or get logged out.

Could you also provide the logs from the moment the error occurs? They might help me identify what’s causing the issue.

Avatar of biggyboss92
Posts 11 55

It's ok this issue has not occurred for me for a while now.

Navigation
4 Posts
post #1
26 Jul 2026
By Utilisateur
Statistics
193
Discussions
1,038
Replies
27
Flatboarders
6
Contributors
New member : rainbird
Online
13 Guests online