Advanced search  

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

Pages: [1]   Go Down

Author Topic: Filenames changing after batch upload  (Read 5289 times)

0 Members and 1 Guest are viewing this topic.

Scope

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Filenames changing after batch upload
« on: December 06, 2005, 05:21:10 pm »

Im currently testing 1.4.2 and I've found that if you batch upload X photos, some of them change their filenames, for some reason.. This was never the case in earlier versions.

Example:

IMG_5914.jpg   becomes      IMG_5_14.jpg
IMG_5835.jpg   becomes      IMG_58_5~0.jpg

and so on.. for 18 photos I uploaded only 4 kept their names, the rest either have _ or ~ in the filename.. Im assuming this is a bug, as the filename surely should stay the same.

Any idea?  Sorry if this has been raised already, I couldnt see it.
« Last Edit: December 11, 2005, 07:22:37 pm by GauGau »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Filenames changing after batch upload
« Reply #1 on: December 07, 2005, 01:33:13 am »

I can't replicate this on my test 1.4.2 install.  Do the files that were renamed already exist in your gallery?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Scope

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Filenames changing after batch upload
« Reply #2 on: December 07, 2005, 03:16:10 pm »

To make sure they where'nt I added some new photos to the database, and the same thing happened, names all over the place.. I noticed the names changes after selecting an album in the batch upload screen (not browseable), and pressing the 'insert selected records' button.. The screen redraws and the file names have changed.
Logged

Scope

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Filenames changing after batch upload
« Reply #3 on: December 10, 2005, 12:27:25 pm »

I've done a fresh install of CPG 1.4.2 and the same thing happens.. I even dropped the database to make sure the file didnt exist anywhere.

If anybody from the Dev team wants to take a look at my coppermine install let me know and I will set you up.

Logged

Scope

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Filenames changing after batch upload
« Reply #4 on: December 10, 2005, 01:14:03 pm »

Some more information:  I made a new folder on the server (in the albums folder), copied about 10 photos into the folder (not used before), went to Batch Upload, pressed the folder name, and at that point it renamed the files on the server aswell as the names shown on the "List of New Files" page. SOMETHING is checking and amending the file names during that process.

Hope this help.. I really want to be able to use Coppermine, but as long as the file names change I cant.. It also causes duplicate filename (on upload) because coppermine renames the files to something that already exist in the folder (this seems random, as I have found a pattern to the filename change yet).
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Filenames changing after batch upload
« Reply #5 on: December 10, 2005, 01:24:58 pm »

send me a PM that contains:
- a link to this thread
- a link to your site
- an admin user name and password
Logged

Scope

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Filenames changing after batch upload
« Reply #6 on: December 10, 2005, 01:44:01 pm »

GauGau,

PM sent. Its not showing up in my outbox, so let me know if you got it.
Logged

Scope

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Filenames changing after batch upload
« Reply #7 on: December 11, 2005, 02:05:14 am »

GauGau,

Put this on hold for now.. I have installed a later version of apache, php, etc, and it seems to work fine now.. I will test further tomorrow.

Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Filenames changing after batch upload
« Reply #8 on: December 11, 2005, 02:11:33 am »

Hmmmm, a self-hosted webserver.  I think we just solved this problem.  ;)
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Scope

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: Filenames changing after batch upload
« Reply #9 on: December 11, 2005, 10:31:20 am »

Well, I have been running Coppermine 1.3.x for a couple of years on the same setup now, and it has worked fine.. I was expecting 1.4.2 to work on the same setup, but I guess I was wrong. :)

Great photo gallery application though.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 21 queries.