Home › Forums › Legacy Support › Support queries › Other issues › Assignment not found after upload
Tagged: assignment, file upload error
- This topic has 5 replies, 2 voices, and was last updated 4 years, 2 months ago by Anshuman Sahu.
Viewing 6 posts - 1 through 6 (of 6 total)
-
AuthorPosts
-
October 16, 2020 at 1:38 pm #318889Makarand ManeSpectatorHi @alex This is some unexpected issue we encountered. From last 2 weeks we did testing on assignment section & everything gone well. Today one student uploaded assignment answer sheet in pdf. After upload he submitted assignment. When we tried to download from admin. It is giving 404 error. I checked folder location using FTP then I found that file was not present there. I can see entry of file from media section of WordPress. PFA screenshot. https://prnt.sc/v0lh0y File url: https://lms.chanakyamandal.org/wp-content/uploads/wplms_assignments_folder/607/15746/subhramanya%20Kelkar%202020E1.pdf @alex please let me know how I can avoid prevent such issue from happening in future. As client already advertising online & student are live.
- Is this issue related to server execution time?
- Student uploaded file having space in file name.
- How student can be prevented from uploading file with spaces
- I read your code & you are handling file chunks. Do you think script is failed to upload chucks?
October 17, 2020 at 2:36 pm #319134Anshuman SahuKeymasterI guess it might be related to file permission OR file name itself . space exchanged with %20 ,can you please check this with file having space and without any special chars or spaces .October 19, 2020 at 11:42 am #319365Makarand ManeSpectator@alex there is not file permission issues. as it happened only one time. before & after this file uploading working normally. In the scenario of issue happened, we found there was no assignment file on server but there was entry of file in database which is supposed to be after successful file uploadOctober 21, 2020 at 6:52 am #319778Anshuman SahuKeymasterWell we are using @fopen ,fwrite function in order to write the file. There is nothing changed in code for uploading assignments as well.This must be something from the server itself . We are uploading in chunks using plupload to server and with this first a .part file is created using fopen . then when whole data is received we changed the .part to the original extension .October 21, 2020 at 6:58 am #319784Makarand ManeSpectator@alex I already read your code in detail & understood what is done there. Process you explained above you did. Can you please guide me what can be possibility at server side? How I can diagnose it? As this is happened one time only that is why I am also not able to recreate it. Another things why there is not restriction on space at student side while uploading assignment? As I can see another student have uploaded files with space in file name.October 22, 2020 at 3:46 pm #320189Anshuman SahuKeymasterThis reply has been marked as private. -
AuthorPosts
Viewing 6 posts - 1 through 6 (of 6 total)
- The topic ‘Assignment not found after upload’ is closed to new replies.