CMS MADE SIMPLE FORGE

plFileHandler

 

[#7341] Not Showning new files

avatar
Created By: Andrew Smith (andrewvideo)
Date Submitted: Mon Dec 12 07:51:37 -0500 2011

Assigned To: Pierre-Luc Germain (plger)
Version: plFileHandler 0.6
CMSMS Version: 1.9.4.3
Severity: Critical
Resolution: None
State: Open
Summary:
Not Showning new files
Detailed Description:
Not Showning new files what been updated. Work great when you disabled Cache in
browsers or you have to empty the  Cache in browsers see the new files.  Even
you changed the setting  to show  the remove button, don't show up unitl you 
empty the  Cache in browser.

Tired to add this to the template 

<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta content="text/html;charset=utf-8" http-equiv="content-type">
<meta content="0" http-equiv="expires">
<meta content="Tue, 01 Jan 1980 1:00:00 GMT" http-equiv="Expires">
<meta content="no-cache" http-equiv="Pragma">

also tried adding 
clearstatcache() to the php


History

Comments
avatar
Date: 2012-01-08 07:56
Posted By: Bernd Klenk (klenkes)

I can confirm this and it is nervewrecking!
I disabled browsercache in my Opera but I have to hit ALT-F5 on the modalwindow
every  time to see the changes.

How about some kind of self reload javasrcipt function...
      
avatar
Date: 2012-01-08 08:37
Posted By: Andrew Smith (andrewvideo)

Do anyone fix this problem or have a JavaScript to to clear it ?

Would greatful if someone help. 

Cheers 

Andrew
      
avatar
Date: 2012-01-09 08:44
Posted By: Bernd Klenk (klenkes)

As a workaround I now use this button on top of the template select_image:
<input type="button" value="Refresh window" onClick="location.reload(true)" />
      
avatar
Date: 2012-08-09 04:37
Posted By: Freud (Freud)

Same problem here.
I've added another workaroud:

In the 'select-image'-template add <body onLoad="javascript:
window.location.reload();"> instead of the normal <body>-tag.

The select-image-window refreshes each time it's opened and the uploaded files
are visible.
      
Updates

Updated: 2012-01-08 08:37
resolution_id: => 5