"This user is inactive. Please contact us regarding this account." error - SOLVED
Permalink 2 users found helpfulWhat 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:
https://community.c9.io/t/concrete5-7-session-persistence/647/3...
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 5.7.5.8:
'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.
https://www.concrete5.org/marketplace/addons/handyman...
which might help in this case.
1.) Create a text file under /application/config/concrete.php
2.) Then add the following code and save
at that point you shouldn't have the issue.
Let us know if that fixes the problem.
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.