Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Batch add shows no directories to add from  (Read 3395 times)

0 Members and 1 Guest are viewing this topic.

Sausage

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Batch add shows no directories to add from
« 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.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Batch add shows no directories to add from
« Reply #1 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Batch add shows no directories to add from
« Reply #2 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Batch add shows no directories to add from
« Reply #3 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 for details.

GauGau
Logged

Sausage

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Batch add shows no directories to add from
« Reply #4 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 14 queries.