PDA

View Full Version : Bug/Feature issue


lost
26th of January 2005 (Wed), 22:01
Ok I am not sure if this is fixable or not, but here it is. Last night I was uploading lots of photos and came across this. It is repeatable

Open the UPLOAD page and click delete all photos in UPLOADS folder. The FTP new files into */gallery/input/UPLOADS. If you click refresh on your browser it will delete all the files you uploaded.

I did that a couple of times before I realized what was going on. I am not too sharp on this sort of thing so forgive me if it is unavoidable.

It would be a good addition to the Documentation if it is not fixable.

wkitty42
27th of January 2005 (Thu), 00:49
Ok I am not sure if this is fixable or not, but here it is. Last night I was uploading lots of photos and came across this. It is repeatable

Open the UPLOAD page and click delete all photos in UPLOADS folder. The FTP new files into */gallery/input/UPLOADS. If you click refresh on your browser it will delete all the files you uploaded.

I did that a couple of times before I realized what was going on. I am not too sharp on this sort of thing so forgive me if it is unavoidable.

It would be a good addition to the Documentation if it is not fixable.well, since a refresh causes the php code to be (re)executed, it stands to reason that the delete will take place as (re)requested ;)

it has nothing, really, to do with being sharp or not :) more like understanding and/or realizing what is [really] happening behind the curtain ;)

lost
27th of January 2005 (Thu), 10:01
Clarafication:

I do understand what refresh does. I was not sure if there was some way to affect a different result by using code in the web page.

Maybe that will clear up what I mean.
:lol:

wkitty42
31st of January 2005 (Mon), 21:00
Clarafication:

I do understand what refresh does. I was not sure if there was some way to affect a different result by using code in the web page.

Maybe that will clear up what I mean.
:lol:kinda, yeah... however, unlike javascript, php is server-side scripting... the server has no way (that i'm aware of) of knowing if you clicked the refresh button or not... this is much the same way that the server can't really tell if you are using a proxy or not...

HTH

Pekka
1st of February 2005 (Tue), 05:24
If you use refresh on browser, it resends the previous request. If you previous request was clicking a delete command in EE then it will do that again.

To refresh contents of upload folder file listing, there is a "REFRESH LIST" command under the file list, please use that.

lost
1st of February 2005 (Tue), 12:35
Thanks for the Reply.


I really wasn't asking for a fix as much as trying to save some people the frustration of having to re-FTP files. It happened to me after uploading about 500 pics :( ! Just trying to bring the subject to light.
Again Thanks