Note: You are currently viewing documentation for Moodle 2.9. Up-to-date documentation for the latest stable version of Moodle may be available here: error/moodle/storedfilecannotread.

error/moodle/storedfilecannotread

From MoodleDocs
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This error occurred when I was swapping a moodle 2 installation from one server to another and the actual file in the moodledata directory was not copied over correctly.

The entry in the Moodle 2 database referenced a legacy resource file but the actual file did not exist on the server.

The screen reported Permissions error which is kind of correct but "file not found" would be more appropriate.

See also