Click here to Skip to main content
15,891,762 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

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.
 
Share this answer
 
I want to log in in tanuvas but why
 
Share this answer
 
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!

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900