"This user is inactive. Please contact us regarding this account." error - SOLVED2 users found helpful
What people have been running into is a situation where their login appears to time out after a short period, and they are redirected to their site's login page to reenter their credentials, with the error message shown in the subject line above.
Earlier responses to the problem included looking at the ulsActive entry in the Users table, but people were reporting that this was properly set to 1, as it was for me when I ran into the problem.
The key is to look at the Logs table, which will typically have entries of the form:
Session Invalidated. Session IP "xxx" did not match provided IP "yyy".
These errors come about because the user's session is being expired by concrete5. In particular, this may happen when the IP address changes. (Incidentally, changes in IP address also interrupt posting in the concrete5 forums.)
The solution is to make the session persist over changes in IP address, as indicated in:
The last contribution to that post did not work for me. What worked was adding an application/config/concrete.php file with the following contents:
The effect of this file is to override the default setting in the Security section of concrete/config/concrete.php, which looks like this in 184.108.40.206:
'session' => array( 'invalidate_on_user_agent_mismatch' => true, 'invalidate_on_ip_mismatch' => true ),
If anyone has more luck with the last suggestion in the above link, I'd like to hear about it, but this change to the configuration solved the problem for me.
Someone should make a "configuration generator" page with a form for all kinds of different options that you can set up in application/config/concrete.php and it would generate the code for you.
which might help in this case.