Minor issue with upload files with the same names Minor issue with upload files with the same names
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Minor issue with upload files with the same names

Started by mitko, January 13, 2013, 09:34:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mitko

Looks like i found small bug during upload of the file with same name as previous but entered upper case.
One of the users had file in the gallery i.e. abc.jpg and then accidentally uploaded Abc.jpg
Old file was overwritten but thumb and intermediate pic were not created properly. Can you check please?

phill104

Which upload method was the user using? Single file uploader, flash upload, batch add or jupload?
It is a mistake to think you can solve any major problems just with potatoes.

mitko


ΑndrĂ©

Do you host your gallery on a Windows or Linux machine?


phill104

On Linux machines file names are case sensitive but on a windows machine they are not. So Abc.jpg and abc.jpg would be considered different files on Linux. Have you checked to see if abc.jpg still exists using FTP? I see no reason why uploading Abc.jpg would not have just created a second file.
It is a mistake to think you can solve any major problems just with potatoes.

mitko

Guys, i tried to reproduce this issue but was not successful. Unfortunately i found the problem some time after it was appeared, maybe  admin operations like recalculate size, update thumbnails etc. were already made for this album. Generally situation looked following way: for some particular picture thumbnail was 1x1 pix, picture itself was absent. Same time thumbnail was shown in the picture edit page. I opened directory via ftp and didn't find original picture at all. But i found picture with same name (abc.jpg instead Abc.jpg and double set of thumbnails). So it hard to say now what happened. If you have any ideas what to check - i can try them.

phill104

As I cannot replicate it and neither can you best to just re upload the image and monitor to see if it happens again. Not a lot else to suggest.
It is a mistake to think you can solve any major problems just with potatoes.