Batch Upload Bug Batch Upload Bug
 

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]

Main Menu

Batch Upload Bug

Started by kdm, June 23, 2006, 06:43:20 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

kdm

Batch upload function does not parse '.' in directory names.  In debug I got the following error:

Warning line 224: opendir(albums/batch/legosummer2k/): failed to open dir: No such file or directory

that's when I realized that my dir name was lego.summer.2k

Easiest solution was to remove the '.' from the directory name and it began reading properly :) Hope this helps some people.

kegobeer

File and directory names should not have any special or reserved characters in them.  You are not supposed to use a dot (.) in the file/directory name.  This is not a bug.
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

kdm

Whether or not it's a bug, some people may have the same issue :) 

Joachim Müller

People having the similar issue should read the docs first (important bit highlighted):
Quote4.11.1 Uploading pics by FTP / Batch-Add Pictures

It is recommended that the coppermine admin use ftp to upload multiple pics/files at a time. Use your ftp software to create sub-folders within your_coppermine_directory/albums/, where your ftp uploads can be saved. Though not mandatory, it's always a good idea to have a folder structure within the albums folder that reflects or mirrors your coppermine categories and albums.

Important: do not create folders or ftp upload to the userpics- nor to the edit-folder by ftp: these folders are used by coppermine internally and must not be used for any other purpose! 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. Make sure to upload in binary or auto-mode.