Error when editing a section

Error when editing a section

על ידי Fernando Souza בתאריך
מספר תגובות: 5

Hi guys,


I'm having a problem when I try to edit the summary block.

The error message I get is: "Can not read file, either file does not exist or there are permission problems"

And then a link to this: http://docs.moodle.org/28/en/error/moodle/storedfilecannotread

Any idea on how to fix this problem?


Thanks

ממוצע דרוגים: -
בתגובה ל: Fernando Souza

Re: Error when editing a section

על ידי Heather Williams בתאריך

Can you provide more information? What file is it saying does not exist (a full stack trace from turning up debugging level would be helpful). What version of Moodle are you running and have you checked the permissions on the files and folders?

בתגובה ל: Heather Williams

Re: Error when editing a section

על ידי Fernando Souza בתאריך

Hi,

Thank you for the reply.

The version is Moodle 2.8.5+ and here is the error message:


Debug info: [dataroot]/filedir/6d/74/6d741064f0579af5c89bfdf7730ca0d02d1d1030
Error code: storedfilecannotread
Stack trace:
  • line 187 of /lib/filestorage/stored_file.php: file_exception thrown
  • line 881 of /lib/filestorage/stored_file.php: call to stored_file->update()
  • line 424 of /lib/filelib.php: call to stored_file->set_source()
  • line 193 of /lib/filelib.php: call to file_prepare_draft_area()
  • line 91 of /course/editsection_form.php: call to file_prepare_standard_editor()
  • line 56 of /course/editsection.php: call to editsection_form->set_data()

I checked moodledata folder and it seems that file actually don't exist. Can't really understand why.

בתגובה ל: Heather Williams

Re: Error when editing a section

על ידי Fernando Souza בתאריך

Hi,

Thank you for the reply.

The version is Moodle 2.8.5+ and here is the error message:


Debug info: [dataroot]/filedir/6d/74/6d741064f0579af5c89bfdf7730ca0d02d1d1030
Error code: storedfilecannotread
Stack trace:
  • line 187 of /lib/filestorage/stored_file.php: file_exception thrown
  • line 881 of /lib/filestorage/stored_file.php: call to stored_file->update()
  • line 424 of /lib/filelib.php: call to stored_file->set_source()
  • line 193 of /lib/filelib.php: call to file_prepare_draft_area()
  • line 91 of /course/editsection_form.php: call to file_prepare_standard_editor()
  • line 56 of /course/editsection.php: call to editsection_form->set_data()

I checked moodledata folder and it seems that file actually don't exist. Can't really understand why.