Well, isn't this 'special'! The latest and greatest config-dist.php file no longer shows lines for turning on Debugging. Hmmmm ...
The lines you are using (the only ones you could find in your config-dist.php file) are supposedly for showing info at the bottom of the front page (or other pages) and I assume when using the 'standard' theme.
So, please remove them and try inserting these ... please HEED the warning comments:
//=========================================================================
// 7. SETTINGS FOR DEVELOPMENT SERVERS - not intended for production use!!!
//=========================================================================
//
// Force a debugging mode regardless the settings in the site administration
// @error_reporting(E_ALL | E_STRICT); // NOT FOR PRODUCTION SERVERS!
// @ini_set('display_errors', '1'); // NOT FOR PRODUCTION SERVERS!
// $CFG->debug = (E_ALL | E_STRICT); // === DEBUG_DEVELOPER - NOT FOR PRODUCTION SERVERS!
// $CFG->debugdisplay = 1; // NOT FOR PRODUCTION SERVERS!
Uncomment all lines (just the first comment symbols // below the // Force a debugging ....
You can leave the trailing // CAPS warnings. Lines should NOT word wrap.
No need to restart anything, just access something on the Moodle.
And yes, that timing out is, I would think, significant.
Since changing to files based for sessions, what you are using is in affect the path to your moodledata folder. That could be a mount point for another file system on another server. If you had command line root access I'd ask you to do a 'df' command to see 'disk free space' information ... which would also disclose any mount points/files systems NOT actually on the web server. You might have a GUI tool to do that.
That would prevent any all from logging on ... just like being out of space. Might be communications error between web server and the remote file system mount point. Dunno. Suggest contacting the true server administrator and inquire/share the issue with them.
OR ... did you use a REAL student user and attempted to login as them? Is there an account called 'session test'? And what is the default authentication for the site? LDAP? or other?
s:12:"session_test";
s:10:"TJN6u3Cnb2";
s:13:"has_timed_out";
top three lines of the text file you've shared show the above. Have really no idea what s:## mean, but from the looks of 12 and 10, could be username and password? ... 13 would then/might refer where Moodle is attempting to go to lookup the user login/pass.
Strange stuff ... never seen before. So might be time to dig into any logging your server is doing ... apache error log, php logging if on, etc..
'spirit of sharing', Ken