I have a node type with 27 FileFields - and some of them work as expected and some have some quirks.

26 of these fields allow for unlimited files and none of them are required fields. I'm using FileField Path to organize the uploads.

I've been testing by taking a file and randomly putting it in a handful of the FileFields and then hitting save (to save the node). Once the node's page is displayed, only some of the files actually uploaded. It seems like only the first 10 or so FileFields actually upload the file when saving the node. However, they all work if I hit "Upload" before hitting "Save." I would expect, however, that by simply hitting "Save" that it would work just fine. Is there some sort of maximum uploads per form?

This happens in Chrome, Firefox, and Safari. There are no errors in watchdog.

Comments

quicksketch’s picture

First I would disable FileField Paths and see if things work without that module enabled. Right now it's hard to say where things could be failing.

The other issue could be that you're exceeding the maximum POST or upload sizes defined in PHP, since when you just click "Submit" the size of all the files is added together. Most installations default to around 8MB of total upload size. Checking max_upload_size and max_post_size would be a good idea.

mediabounds’s picture

I disabled the FileField Path module and tried adding just one file in the very last field and it didn't work. The node submitted, but the file was not attached (and it never appeared in the files directory).

quicksketch’s picture

Hm, yeah I've never tried this situation. I'm curious to see what you find but I don't think this is something that I'm going to take the time to investigate.

quicksketch’s picture

Status: Active » Closed (won't fix)