[wp-trac] [WordPress Trac] #50038: Check for `file_uploads` in Site Health

WordPress Trac noreply at wordpress.org
Thu Apr 30 12:34:09 UTC 2020


#50038: Check for `file_uploads` in Site Health
--------------------------+-----------------------------
 Reporter:  dd32          |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Site Health   |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I've just spent 5 minutes debugging someones site, trying to figure out
 why uploads were failing with a very specific and 'unique' error -
 `Specified file failed upload test.`.

 Turns out the hosts config has `file_uploads = Off` (They blamed WordPress
 for not being able to upload files) and Site Health was giving a nice
 green `Good` sign.

 The ini setting being disabled should perhaps show up in either the
 `Server` or `Media` categories in the Debug section, and quite possibly as
 part of a "Media upload problem" critical issue, perhaps one that also
 verified that the upload setting was set to >= 2MB or something.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50038>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list