Moodle easy solution to "Failed to unserialise data from file. Either failed to read, or failed to write."
Error in Moodle:
Coding error detected, it must be fixed by a programmer: Failed to unserialise data from file. Either failed to read, or failed to write.
Problem:
There was a file locked by cache store system.
Solutions:
1.Execute script purgecaches to reset the cache system.
php /moodle/admin/cli/purge_caches.php
2.Remove all files and directories unde directory /moodledata/cache
Finally, please don't edit core files to solve this problem. Think, in Moodle always was a alternative solutions. Find in Moodle tracker system .
Written by Carlos Escobedo
Related protips
3 Responses
:-) Very Thanks
over 1 year ago
·
Very useful! Thanks :)
over 1 year ago
·
Te como pa polla
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Moodle
Authors
carlosagile
27.48K
alroman
2.492K
Related Tags
#moodle
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#