Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Minor issue with upload files with the same names  (Read 4801 times)

0 Members and 1 Guest are viewing this topic.

mitko

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 117
    • World of Lighthouses
Minor issue with upload files with the same names
« on: January 13, 2013, 09:34:03 pm »

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

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4850
    • Windsurf.me
Re: Minor issue with upload files with the same names
« Reply #1 on: January 13, 2013, 11:05:20 pm »

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

mitko

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 117
    • World of Lighthouses
Re: Minor issue with upload files with the same names
« Reply #2 on: January 14, 2013, 06:26:54 am »

I believe he used flash uploader.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15765
Re: Minor issue with upload files with the same names
« Reply #3 on: January 18, 2013, 05:10:41 pm »

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

mitko

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 117
    • World of Lighthouses
Re: Minor issue with upload files with the same names
« Reply #4 on: January 18, 2013, 05:59:54 pm »

Linux

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4850
    • Windsurf.me
Re: Minor issue with upload files with the same names
« Reply #5 on: January 18, 2013, 06:21:16 pm »

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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

mitko

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 117
    • World of Lighthouses
Re: Minor issue with upload files with the same names
« Reply #6 on: January 18, 2013, 07:07:48 pm »

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

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4850
    • Windsurf.me
Re: Minor issue with upload files with the same names
« Reply #7 on: January 18, 2013, 07:10:43 pm »

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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 22 queries.