File uploads are blocked with white screen and text "Invalid Token"
Posted: 31 Jul 2023, 13:13
After logging in on the front of the site, and trying to upload a file, I get a white screen with the words "Invalid Token".
I tried logging out all users, browse in a private window, use another browser. Even clearing the Joomla cache and restarting the webserver. When I force "return true" in /libraries/src/Session/Session.php checkToken(), everything works fine.
Googling the issue, this last option emerged: If the "Invalid Token" message is appearing on a certain extension, contact the developer. Ask them to check and make sure that their forms are adding the security token. You can provide them with this Joomla documentation. https://docs.joomla.org/How_to_add_CSRF ... g_to_forms
But then, I don't think the extension itself is failing? Does someone have a solution for me? Thanks!
I tried logging out all users, browse in a private window, use another browser. Even clearing the Joomla cache and restarting the webserver. When I force "return true" in /libraries/src/Session/Session.php checkToken(), everything works fine.
Googling the issue, this last option emerged: If the "Invalid Token" message is appearing on a certain extension, contact the developer. Ask them to check and make sure that their forms are adding the security token. You can provide them with this Joomla documentation. https://docs.joomla.org/How_to_add_CSRF ... g_to_forms
But then, I don't think the extension itself is failing? Does someone have a solution for me? Thanks!