Closed (won't fix)
Project:
Filemanager
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2006 at 21:22 UTC
Updated:
3 Feb 2013 at 17:44 UTC
Here are the message presented to the screen when I try to upload a jpg:
* File copy failed: source file does not exist.
* Error saving upload to filestore.
Here are the messages that are in the logs:
Later: filesize() [function.filesize]: stat failed for /tmp/phpHLRuKA in /modules/filemanager/filemanager.module on line 150.
Earlier: For /tmp/phpHLRuKA the system thinks its MIME type is 1 while the user has given image/jpeg for MIME type
Any ideas?
-Matt
Comments
Comment #1
Matt Fleming commentedOne other thing.. if I change the filename to .txt it uploads just fine..
Comment #2
ronsens commentedI think, I know what the problem is. In a post about problems uploading with the drupal's core Upload-module, I found a hint:
http://drupal.org/node/41561#comment-76739
As their is said, probably "PHP's mimetype module is not configured correctly" and that would be the advice: "contact your host".
I have that problem right now. And I will contact my host. But maybe one of you could tell what EXACTLY I have to tell them?
Comment #3
Matt Fleming commentedWe are experience an issue where the determination of mime type fails with mime functions enabled. There are a few patches suggested in the thread.. but I chose to use the no mime magic patch since my site is really only for me and trusted users anyways. Without the call to mime magic, my uploads work perfectly.
Comment #4
ccourtne commentedSeems to be a problem with PHP and not filemanager code. I will watch the thread related to the base upload functionality. If a workaround is found I will apply the same technique here.
Comment #5
pomliane commentedThis version of Filemanager is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.