When the accesslog exceeds 170,000 records (and perhaps earlier, but for sure then), file uploading fails with no error messages. The file appears to upload until you click submit, when it is no longer visible as a listing with the node and is not saved in files, either. Purging all the entries in the accesslog causes filefield uploads to work again.
The regular "Attach file" still works properly. It's only the filefield uploads that fail.

This is drupal 4.7 running with PHP 4.3.9 and Apache/2.0.52 Red Hat

Comments

jpetso’s picture

Status: Active » Closed (won't fix)

Such edge cases are each developer's nightmare... which in my case means that I wouldn't want to test this even if I could reproduce it.

I would normally ask you to verify if this issue still applies to Drupal 5 + filefield, but even if it does I have no idea how to tackle it. The filefield code doesn't do stuff too differently from upload.module, it could just as well be CCK or I-don't-know-what. Sorry to close this with a "won't fix", but I don't think there'll be a filefield developer around to debug and fix this issue, even if it sounds like a real problem that might be attributed to filefield.

I'll happily apply a patch once you can tell me what exactly goes wrong and how to properly fix it. Until then, I think it's pointless to have this issue in the queue. Again, sorry.

eliza411’s picture

I appreciate the response, even if it's not something that you can fix or directly attribute to filefield. It makes me feel more okay about purging the accesslog as a workaround and will make the folks I work for more okay with it, too.

If we ever figure it out, I'll post the solution, but realistically we probably won't get to it since we do have an adequate workaround. It took a while to figure out it was the accesslog, so I think it was worth posting here in case someone else has a similar problem.

Thanks again for the response.