Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2005-09-20 06:36:09

adamp
Xinha Pro
Registered: 2005-03-14
Posts: 77

ImageManager deleting random images

Hi all, been a while since I was last here smile

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

#2 2005-09-27 04:04:56

adamp
Xinha Pro
Registered: 2005-03-14
Posts: 77

Re: ImageManager deleting random images

No-one?

Offline

#3 2005-09-28 10:30:31

niko
Xinha Authority
From: Salzburg/Austria
Registered: 2005-02-14
Posts: 338

Re: ImageManager deleting random images

afaik the ImageManager has no such limit (and if it would have - it would be a really strange limit big_smile)

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 big_smile


Niko

Offline

#4 2005-09-29 08:56:54

henke
Xinha Community Member
From: Sweden
Registered: 2005-09-22
Posts: 12

Re: ImageManager deleting random images

adamp, can you tell roughly how often you have experienced this problem?

Offline

#5 2005-09-29 13:14:09

adamp
Xinha Pro
Registered: 2005-03-14
Posts: 77

Re: ImageManager deleting random images

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

Board footer

Powered by FluxBB