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: Batch Add oddity  (Read 4537 times)

0 Members and 1 Guest are viewing this topic.

eriichan

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Batch Add oddity
« on: October 11, 2008, 09:39:03 pm »

I've been having this issue for a few weeks now, and I'm not exactly sure what started to cause it. I've uploaded the pictures I want into a folder (CHMOD 755/775 for all folders and pictures inside /album/) via FTP. I go to batch add files, browse to the folder where I uploaded them and press "OK". And then I press "Insert Selected Files" but it drops me right back into the "Select Directory" screen.

I tried testing the batch add function by uploading smaller number of pictures; it had no problems doing up to 20-30 at a time, but anything beyond that it returns me back to the "Select Directory" screen without any other message. I tested the HTTP upload function and it worked without a problem for me, but perhaps that's because I was logged in as an admin user.

I checked the phpinfo for the suhosin information and they returned these values:

suhosin.post.max_vars: 400
suhosin.request.max_vars: 400


Gallery Link: http://www.jorjaallaround.org/gallery
What I'm trying to upload: http://www.jorjaallaround.org/gallery/albums/Television_and_Movies/television/csi/Season_9/901/903_war__(115).jpg
(there are a bunch of other pics in the folder I've yet to upload)

Here's the test user account information with upload privileges.
Username: test
Password: test123

Any assistance would be greatly appreciated.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

eriichan

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Batch Add oddity
« Reply #2 on: October 13, 2008, 05:22:54 pm »

Oops. Fixed!

Sorry about that.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch Add oddity
« Reply #3 on: October 14, 2008, 07:07:35 am »

http uploads work as expected (see http://www.jorjaallaround.org/gallery/displayimage.php?pos=-35033). Avoid special chars in folder and file names when batch-adding.
« Last Edit: October 14, 2008, 07:47:03 am by Joachim Müller »
Logged

eriichan

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Batch Add oddity
« Reply #4 on: October 14, 2008, 07:13:33 am »

So the parentheses in the filenames are contributing to the problem? Man, I feel like a moron for missing something like that. -__-;;

Aside from them, what other symbols/characters should I avoid? I'm not the one who uploads the majority of the images, so I'd at least like to let my group know what not to name their files.

Thanks for the assistance. :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch Add oddity
« Reply #5 on: October 14, 2008, 07:49:06 am »

From the docs:
Quote
Folder names must not contain dots. We also highly recommend refraining from the use of any other special characters - use only a-z, numbers and - (dashes) or _ (underscores) to fill blank spaces.
Logged

eriichan

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Batch Add oddity
« Reply #6 on: October 14, 2008, 07:19:21 pm »

I'll let them know how to format their filenames from now on.

Sheesh, I'm totally embarrassed.

Thanks so much!  :D
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch Add oddity
« Reply #7 on: October 15, 2008, 07:22:29 am »

I'll let them know how to format their filenames from now on.
Who's "them"? Are you trying to say that you're granting non-admins FTP upload permissions? You shouldn't do that - under no circumstances.
Logged

eriichan

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Batch Add oddity
« Reply #8 on: October 15, 2008, 05:31:23 pm »

Oh no, they have no access to the FTP. They just save the screencaps, zip them up and email them to me. Then I unzip them, upload them and load them into the gallery.

Just this batch has been giving me some trouble over the past two weeks.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch Add oddity
« Reply #9 on: October 16, 2008, 07:09:25 am »

OK, that's fine then. But I don't think that you can expect your users to name the files properly. I suggest that you rename the files for them after unzipping them. There are some nice tools for batch-renaming files on the client like 1-4a rename
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.