Batch add shows no directories to add from Batch add shows no directories to add from
 

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 shows no directories to add from

Started by Sausage, December 27, 2003, 05:23:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sausage

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.

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Sausage

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?

Joachim Müller

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 for details.

GauGau

Sausage

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.