Having a weird bug here, where new ads with images appear to overwrite other images... What's really happening though is that it never stores the uploaded image under a new filename; it always prefixes with 'phpTHSyn2'. Then I wind up with both ads (or more if I keep uploading new ads) pointing to the newest rendition of phpTHSyn2.xxx. If I try a .gif and then .jpg it will differentiate between the two, so I think it's just something in the name generation.
I saw a similar issue in here dealing with a no image ad then updated with one, but this happens on two new ads. Directory permissions are set right, since I can delete the ads and the pic file goes away, and can create it all over again.
|