Batch Add oddity Batch Add oddity
 

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

Batch Add oddity

Started by eriichan, October 11, 2008, 09:39:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

eriichan

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.

Joachim Müller


eriichan

Oops. Fixed!

Sorry about that.

Joachim Müller

#3
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.

eriichan

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. :)

Joachim Müller

From the docs:
QuoteFolder 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.

eriichan

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

Sheesh, I'm totally embarrassed.

Thanks so much!  :D

Joachim Müller

Quote from: eriichan on October 14, 2008, 07:19:21 PM
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.

eriichan

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.

Joachim Müller

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