I am trying to work with the bulk import, specifically, MasterCook 4 import. The upload begins, but presents this error after '100% upload.'

warning: move_uploaded_file() [function.move-uploaded-file]: Filename cannot be empty in /home/thecrazy/public_html/drupal/includes/file.inc on line 615.
warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpb72ffV' to '' in /home/thecrazy/public_html/drupal/includes/file.inc on line 615.
File upload error. Could not move uploaded file.
The attched file failed to upload.

I've reviewed similar issues of people having a similar error message in other situations, but they don't seem to apply here. Where should I start when troubleshooting this issue?

CommentFileSizeAuthor
#5 OCCmastercook.txt41.05 KBjsgammato

Comments

jvandervort’s picture

I would check your files directory permissions and that normal file uploads work in Drupal. The recipe module uses standard core functionality to get the file up to the server.

mmattson’s picture

Which directory's permissions should be modified? 'Files' is already at 755. What should they be? Uploads work fine in this and other modules.

jvandervort’s picture

I can't duplicate this yet.
Can you go to: admin/settings/file-system and make sure there are no warnings,
and submit the page to save settings?

Also, is there anything strange about the file name you are uploading?

Are you running mysql, Apache, and the latest Drupal 6?

jsgammato’s picture

I am seeing the same problem with recipeml.
I export a file from one D6 website to my local drive, then import it to another D6 website. Image file uploads work fine on both sites.
I see:

warning: move_uploaded_file() [function.move-uploaded-file]: Filename cannot be empty in /webroot/s/g/sgamm001/nefoodies/www/includes/file.inc on line 603.
warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpuploads/phpiFanrk' to '' in /webroot/s/g/sgamm001/nefoodies/www/includes/file.inc on line 603.
File upload error. Could not move uploaded file.
The attched file failed to upload.

jsgammato’s picture

StatusFileSize
new41.05 KB

Same problem with MasterCook4.
file attached (renamed from .mht to .txt)

dcam’s picture

Status: Active » Closed (cannot reproduce)

Closing old support requests. Re-open if needed.