Make media upload "HTTP error." more user-helpful
|Reported by:||mikeschroder||Owned by:|
Since the introduction of the Media Gallery in WordPress 3.4, the error messages when users attempt to upload media have been reduced to a detail-less “HTTP error.”, without any suggestion as to how users can move forward, and limited information for users to be able to contact their hosts to get help.
This is user hostile, and not in line with many of the assertions in WordPress Philosophy.
There’s no doubt that error messages must exist, but they should be useful, providing next steps for users.
A few possible parts/steps of this:
- Auto Retry
- Better error messages where possible (Timeout, Out of Memory, in user terms)
- Expand for Exact Details to give to host (or WP_DEBUG enables this?)
- Troubleshooting Steps, or link to troubleshooting steps
This should be possible to accomplish in stages, which will likely each need their own tickets.
One of the first steps for "Retry" is to make image upload/thumbnail creation able to be resumed, rather than only adding the meta after all sizes are created.