[wp-trac] [WordPress Trac] #48960: failed to open dir: No such file or directory in WIndows

WordPress Trac noreply at wordpress.org
Sat Dec 14 06:21:26 UTC 2019


#48960: failed to open dir: No such file or directory in WIndows
-------------------------------+------------------------------
 Reporter:  eden159            |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Media              |     Version:  5.3.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by eden159):

 Hi This happens on EVERY page in the ADMIN panel. In the frontend there
 are no warnings - only in the admin panel and every page.

 Replying to [comment:5 azaozz]:
 > Sounds like this is caused by `wp_unique_filename()` checking for
 existing files in the wrong directory:
 https://core.trac.wordpress.org/browser/tags/5.3.1/src/wp-
 includes/functions.php#L2473. The warnings can be silenced, but that will
 "hide" the underlying problem making it harder to find and debug
 (basically that function doesn't do anything when the directory is not
 readable).
 >
 > @eden159 could you give some more details please: when does this happen
 (during upload, etc.), and if it makes the performed action fail (i.e. an
 upload would fail).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48960#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list