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

Matt Fleming’s picture

One other thing.. if I change the filename to .txt it uploads just fine..

ronsens’s picture

I 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?

Matt Fleming’s picture

We 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.

ccourtne’s picture

Status: Active » Postponed

Seems 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.

pomliane’s picture

Status: Postponed » Closed (won't fix)

This 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.