[wp-trac] [WordPress Trac] #48604: File upload bug
WordPress Trac
noreply at wordpress.org
Thu Nov 21 13:36:06 UTC 2019
#48604: File upload bug
--------------------------+------------------------------
Reporter: majoran | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: high | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Resolution:
Keywords: close | Focuses:
--------------------------+------------------------------
Comment (by tomestlack):
Replying to [comment:26 StandOutSites]:
> We are on Siteground and user SG Supercache. I cleared cache several
times to no avail. Even after I deleted /wp-includes/js/backbone.min.js,
the file was still loading. Just created a ticket with Siteground to clear
this file from server cache. Has this solution consistently work for you?
So far, yes - the solution is working...
But the specific files, plugins, includes etc. could be different per
user/dev. I'm not a WP architect or moderator, but I would recommend the
following to anyone experiencing similar issues.
attempt to recreate problem in different browsers.
use the inspector -> console - locate problem files and their specific
paths (right click on file name - copy link location, paste in new window,
so you can use the path to dump from cache later - (CDN cache or a WP
cache plugin etc.)).
it seems like many people are having problems related to a cached
javascript file in a plugin (or include files), whether it's Media Library
or Backbone or something else. Even if it's unrelated, a JS error will
cause other stuff to break (preaching to the choir here probably).
If you're using a service to cache files, you may have to provide the
specific path of the file you need to purge from your cache. In my case,
I've been using cloudflare a lot for this (custom purge).
Re: cache - The more I learn about cache, the less I understand about
cache
So, after the server cache is purged, and the CDN cache is purged, we
still have the browser cache to purge. All the caches will store files and
paths you're trying get to read directly from your server environment. So,
purge everything so you're getting a fresh clean download. It sounds
scary, but it might help. Try using a top down approach:
1. purge CDN cache
2. purge server cache
3. purge any WP cache plug ins
4. purge browser caches - You don't have to delete the browsing history or
cookies - just cached images + files (browser might log you out otherwise)
---
Maybe there is a bug somewhere, but I haven't identified a REAL BUG >> If
I'm wrong, just ignore the above and accept my apologies :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48604#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list