I have a colleague who believes the reason why their users are having problems with accessing files because the files have spaces in the names.
Error code: filenotfound
- line 463 of /lib/setuplib.php: moodle_exception thrown
- line 1955 of /lib/filelib.php: call to print_error()
- line 4584 of /lib/filelib.php: call to send_file_not_found()
- line 38 of /pluginfile.php: call to file_pluginfile()
Their Moodle version is: Moodle 2.6.4+ (Build: 20140821)
How can they fix the current file name problems and prevent this from happening in the future (short of telling their users not to use spaces as part of their file names)
Will globally changing the file name in the mdl_file to remove the spaces work as it points to a hash file anyway? If so, the best of way of doing it via script or SQL/DML language?