magnusbilling7
magnusbilling7 copied to clipboard
Unable to access the admin panel
Describe the bug The following problem started on our server a few days ago: when a user enters his username and password and tries to log in, he receives a "welcome" message confirming that the login information is correct, but the login page continues to appear and the admin panel does not load. Examining the XHR requests in Chrome's developer tools reveals that the request to "/mbilling/index.php/authentication/check" returns an empty dataset, indicating that the user is apparently not logged in.
To Reproduce Steps to reproduce the behavior:
- Go to Login page
- Enter the username and password and submit the form by clicking 'login'
- See the "welcome" message confirming that the details you entered are correct
- Login page continues to appear and the admin panel does not load.
Expected behavior Loading the admin panel and verifying the login identity
Screenshots
Chrome Developer Tools - Authentication query fails after login:
Desktop:
- OS: Windows 10
- Browser And Version : Google Chrome | 120.0.6099.130
- Version [e.g. 22]
Additional context Server OS: CentOS Linux 7 (Core)
Same issue happening on one of my machines (I have two and the second one seems ok so far)
Check your hard disk, maybe you have 100% used.
or, execute the command to set the session permission
chown -R asterisk:asterisk /var/lib/php/session*
My issue was fixed by our sysadmin: For some reasons application wasn't able to write php session into /var/lib/php/sessions. He made that folder ownership as asterisk:apache (was root:apache) because just adding asterisk to apache group didn't work. SInce then, the issue has not happened again.