Error when uploading a PDF file
-
Hi all,
I’m trying to upload a 2.3 MB PDF file to my site. When I drag and drop it to the Media Library, I get this error:
Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page.
I can confirm that it wasn’t properly uploaded. I’ve turned on logging with WP_DEBUG and WP_DEBUG_LOG set to true in wp-config.php, and no error message appears in the log file. I’ve also set WP_MEMORY_LIMIT to 1 GB (partly out of frustration…I know it is probably too high for longterm use).
The maximum upload file size is 50 MB. I’ve also tried deactivating all plugins and using the default twenty-twenty-three theme.
I’m also using a very simple filename like a.pdf, thinking that might be the cause.
I’m also the system administrator of the computer hosting it. So, while I have flexibility to tweak the computer’s settings, I can’t ask the administrator of the hosting computer to “fix it” — since that is me. I guess I’m running out of ideas… Any suggestions would be appreciated…
Thank you!
Ray
- The topic ‘Error when uploading a PDF file’ is closed to new replies.