Updated files don’t show

Request Type: 
General Assistance
Author: 
Sohrab Ismail-Beigi
Issue/Request: 

I have a very strange and annoying problem with my yalesites site.

On a web page http://volga.eng.yale.edu/people/Sohrab there is a link to my CV (first link under my picture).  This links to a PDF files “cv.pdf” which is already uploaded via the ckfinder file browser.  Clicking the link loads a PDF which is good.

The problem is updating the PDF.  I have updated the PDF file via ckfinder to a new version: I deleted the old version and uploaded a new one.  But when I click on the link, the old PDF shows up.  I have done the following actions many times:
(1) Force load my browser
(2) Clear all caches from my browser
(3) Clear all yale sites caches (house symbol button upper left->”Flush all caches”)
(4) Trying a different browser all together and flushing all caches in all permutations.
and nothing works.  

The only thing that works is to rename the file (and the hyperlink) then it displays the new file.  But change it back to “cv.pdf” and the old file is back.

The ckfinder is very poorly behaved: when I find the file in the ckfinder broswer and Download it, it in fact has the new version.  But if I View it (in the ckfinder) it shows the old version!  So maybe the file browsing subsystem (ck subsystem) is serving up the old file due to caching?

Please help.  It is very strange and annoying.

Hello Sohrab,

This is a known issue with CKEditor. The best way to avoid in the future it is to follow the instructions below.

  1. Find file that needs to be deleted in the WYSIWYG and remove it.
  2. Save to completion (save all windows and save changes to the Drupal Node).
  3. Flush all caches. 
  4. Edit the node again and add/upload the new file.

What we can do now is have you remove the file from the node and We can use a module called Fancy File Delete to find the file and delete it. This will allow you to start from scratch.

Josue