Solved - Maybe
| Project: | Media Field |
| Version: | 5.x-1.01-rc1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | jjchinquist |
| Status: | closed |
Jump to:
Hello,
We have confirmed that the audio and video file is uploaded to the server as the tmp file.
We then receive a pop up alert box that an "unspecified error has occured". The Audio Upload field then disappears from our node form.
We evaluated the code and did not find where this message is displayed.
I believe the problem is that the temp file has a mod of 0644. It must have mod 0755.
/*Question*/
Where does the file move occur in this module (so that I can add the php code "chmod($file, 0755)"?
/*Caution, further technical information & other module information*/
We can upload Node Images with no problem. Before the file_move call in file.inc, I added chmod(0755) so that the system had the rights (default is 0664).
We cannot use the Attachment Upload for general files attached to Nodes because of this same problem.
Both this mediafield and the attachment modules use this JS upload form, I believe that Node Images do not.
Thanks for any support!
Jeremy (jeremy.chinquist@quax.at)

#1
JQuery update had not overwritten all files in the misc/ directory. After reuploading all files, the Error message went away.
#2
I'm having this problem as well, what files did you reupload?
/*Question*/
Where does the file move occur in this module (so that I can add the php code "chmod($file, 0755)"?
I'd like to know that as well, even if there is an issue with Jquery we should still be able to override those settings if we add the php.
#3
Our upload was completely fine once the JQuery update was correctly (COMPLETELY) installed. Since then we have had no problem to upload all file types (including mov, flv, jpg, mpg, png, wmv, mp3, etc).
I cannot give any more assistance because the issue was not really related to a bug.
- Jeremy