Computers Network›Logbook software
#21048
Logbook - Login problem resolved
This morning, at approximately 10:30 (local time) it was not possible to log-in to the Logbook.
The problem was occurring as the apache error log was full and there was consequently insufficient disk space to write the PHP sessions associated to the login. Standard working conditions were restored at 11:00.
For future reference this problem can be quickly diagnosed by setting the PHP error settings to 1 in the login script of any application running on the host:
ini_set('display_errors','1');
and then trying once again to log-in. In the case of the disk space being insufficient the following warning message will be displayed in the browser:
Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
N.B. It is important also to comment out any lines starting with:
header('location...
in the login script as well, as otherwise the script will automatically re-direct leaving insufficient time to view the error message.