coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Sausage on December 27, 2003, 05:23:51 PM

Title: Batch add shows no directories to add from
Post by: Sausage on December 27, 2003, 05:23:51 PM
After I have logged in, I selected batch add and get this:

Select directory :
This function allows you to add a batch of picture that your have uploaded on your server by FTP.

Select the directory where you have uploaded your pictures  



But no directories are listed. Can I know how cpg decides which directories to show? In the config section I already have this:

The album directory: http://www.singaporeanimenews.net/Photoalbums/

And I have lots of subdirectories in /Photoalbums. All their permissions are set to 777.
Title: Batch add shows no directories to add from
Post by: Casper on December 27, 2003, 05:49:37 PM
It seems you have named your cpg directory 'photoalbums', and it seems to me you have put all your album directories straight into there.

You should put them in the 'cpg directory/albums' directory, with, but not in, the 'userpics' directory.

I think because you have put them in the wrong place, cpg just cannot see them.  Just use your ftp to move them into the 'albums' directory, and it should work fine.
Title: Batch add shows no directories to add from
Post by: Sausage on December 28, 2003, 01:18:26 AM
My coppermine resides in /phpapps/coppermine/

in my root dir I have the photos, in /Photoalbums

I have no idea why batch upload won't see anything in my /Photoalbums directory. Everything is chmodded 777.

The album directory *
http://www.singaporeanimenews.net/Photoalbums

The directory for user pictures *
http://www.singaporeanimenews.net/Photoalbums/memberuploads


Are the above the paths cpg looks in to find things to batch add?
Title: Batch add shows no directories to add from
Post by: Joachim Müller on December 28, 2003, 02:59:30 AM
like Casper already stated (please read answers of supporters more carefully!):
Change your folder structure to
http://www.singaporeanimenews.net/albums/ for album directory and http://www.singaporeanimenews.net/albums/userpics/ for user directory (in other words: don't modify the folder structure within coppermine to something different than the structure that comes with the package) and batch-add will work as expected.
Refer to the manual (http://coppermine.sourceforge.net/demo/docs/index.htm#batch_add_pics) for details.

GauGau
Title: Batch add shows no directories to add from
Post by: Sausage on December 28, 2003, 10:30:46 AM
Fixed the problem... turns out that it wasn't the name of the directory but rather the absolute paths.

I changed
http://www.singaporeanimenews.net/Photoalbums
to
../../Photoalbums

and everything worked from there.