Login error - Security token has expired, so action has been canceled. Please try again

I have a fresh installation of Dolibarr version 20.0.3 and I could not log into the Dolibarr as I have been getting this error message: “Security token has expired, so action has been canceled. Please try again.” I tried to clear the cache on the browsers and using various browsers and even deleted the Dolibarr installation and reinstall it several times and still getting this error. I tried to search online to see what might be the issue but still not seeing a real solution about this. Please help as I could not use the Dolibarr at the moment if I cannot even log into the system. Thank you very much.

which PHP version? which database? which platform?

What are the error messages in the webservers log files?

What are the error messages in dolibarr.log?

Hello,

Could be a wrong php configuration : PHP need a session folder to work.
If this folder doesn’t exist, or it’s not writable by PHP, then you could have this kind of issue.

1 Like

Hi,
like ksar allready told, must be php permission.

Facing Error “Security token has expired, so action has been canceled. Please try again” on fresh install version 16.0.4 - Installing my Dolibarr - Dolibarr international forum