I can’t currently log out from my admin account (id 1) and journal manager account (id 3). Pressing ‘log out’ button brings to the /user page.
I can’t ‘login as’ certain user. I can ‘login as’ other users, but after doing that I can’t ‘log out as’. (These too redirect to the /user page)
The user that I couldn’t ‘login as’ can’t access submission they are supposed to review (Clicking link does nothing).
Some times if I create private window and ‘log in’ 1. and 2. happens. Sometimes it works fine.
If I open different browser (IE) I can log in and log out, but if I try to do that again it doesn’t let me to log out (Redirect to /user).
At some point I was able to ‘login as’ the user that cannot access submission and access submission. At some point I could ‘login as’ the user, but couldn’t access submission. I cannot reproduce these two.
So what should I try to debug this?
Note: I have been cleaning admin users (id 1) sessions from database to be able to log out… Could this cause problems?
We have had problems with our server using it’s whole memory and mysql getting OOM killed (I have changed configurations and it shouldn’t happen again). This might have caused the problem?
Edit: NOTE: I have checked error_log and it has nothing there.
I did the same as in OP 5. again and this time recorded SQL commands ran to log file. It looks like it doesn’t issue any log out queries at all second time, so there is some check in OJS that fails before log out code is ran.
Some problems with sessions could be connected to session_check_ip = On setting in config.inc.php. Changing that to off solved a session related problems in our case. It could be that your problem is different (I am thinking especially those login as problems), but I guess that is worth trying.
I had misconfigured apache and all html files were being cached by browsers. I have no clue why I didn’t notice that this was happening even though I was closely looking at the request and responses that were happening.