500 Internal Server Error caused by the upload field