You are not logged in.
Hi all, been a while since I was last here
I'm getting a problem with ImageManager apparently deleting images when new ones are added. It's as if it hits a limit and cycles back round to the strat, overwriting existing images with newly uplaoded ones.
Has anyone else had this problem, or have any idea as to why it might do it?
Offline
No-one?
Offline
afaik the ImageManager has no such limit (and if it would have - it would be a really strange limit )
i would say this is not a xinha problem - if so others must have seen this bug too?!
you should do some debugging on your system
Niko
Offline
adamp, can you tell roughly how often you have experienced this problem?
Offline
We've stopped using the ImageManager for the time being as it was on a live site, but it was basically deleting an existing image (maybe more) every time a new one was added. I tried commenting out any line in the ImageManager code that used the unlink() function to no avail, so I'm not sure what's causing it, but having stopped using ImageManager to upload images, the problem has stopped.
I can only think it's one of the cleanup functions deleting more than just the temporary files or something along those lines. If I get time I'll try playing with it some more and sticking some debug code in, but as it's a live site at work I can't just have it deleting files until we figure it out.
Offline