Click here to Skip to main content
14,664,939 members
Rate this:
Please Sign up or sign in to vote.
See more:
Last night my moodle site run out of disk space. After solving disk problem and restarting my moodle server I faced with "Your session has timed out. Please login again." problem. I googled and found suggestions like:

1. check and fix your permissions in moodledata/session -- set it to 0777
2. delete all session files inside moodledata/session directory
3. check that your hard disk is not full. If you have disk space problem then expand your disk space.
4. delete cookies of your browser

I did all suggestions that were suggested, but it didn't solve my problem. How can I solve this problem?
Posted
Updated 29-Dec-17 23:20pm

Rate this:
Please Sign up or sign in to vote.

Solution 2

I want to log in in tanuvas but why
   
Comments
CHill60 30-Dec-17 9:44am
   
Only you can know why but posting it as a solution to this old question is not the way to find out!
Rate this:
Please Sign up or sign in to vote.

Solution 1

I opened phpmyadmin and found moodle database. In moodle database there was a table named mdl_sessions2. When i clicked to browse this table i got "Table is marked as crashed" error. I wrote the following command to repair crashed table in phpmyadmin SQL tab as: REPAIR TABLE mdl_sessions2. And this code solved my problem.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100