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 UPLAOD -- No Directories DISPLAYED NOT USING userpics  (Read 8511 times)

0 Members and 1 Guest are viewing this topic.

cmd

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
BATCH UPLAOD -- No Directories DISPLAYED NOT USING userpics
« on: October 15, 2004, 02:51:44 am »

I created a directory under albums called mypics and I put pics in there and I go to the batchadd button and nothing is displayed:

There is no picker buttons just the followig test:

This function allows you to add a batch of file that your have uploaded to your server by FTP.

Select the directory where you have uploaded your files

Thx
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: BATCH UPLAOD -- No Directories DISPLAYED NOT USING userpics
« Reply #1 on: October 15, 2004, 06:42:06 am »

post a link to your site please. Make sure the permissions are set properly.

Joachim
Logged

cmd

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: BATCH UPLAOD -- No Directories DISPLAYED NOT USING userpics
« Reply #2 on: October 15, 2004, 07:08:22 pm »

I dont have this publicly available.
I created the following folder:

/var/www/htdocs/cpg132/albums/upload

The permissions are set to 666

The folder contains 20 or so jpg's

So when I go to the Batch Upload Button there is nothing there but the following text:
_______________________________________________________________________________
Select directory
This function allows you to add a batch of file that your have uploaded to your server by FTP.

Select the directory where you have uploaded your files
________________________________________________________________________________    
Powered by Coppermine Photo Gallery
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: BATCH UPLAOD -- No Directories DISPLAYED NOT USING userpics
« Reply #3 on: October 15, 2004, 09:46:34 pm »

re-consider this CHMOD setting (666): you (in fact: the webserver) needs read/write access to the albums folder and everything within it, as suggested in the docs. What server OS and server software/version are you using?

Joachim
Logged

jarekn

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
Re: BATCH UPLAOD -- No Directories DISPLAYED NOT USING userpics
« Reply #4 on: October 17, 2004, 06:29:34 am »

I am having the same issue, and my permissions are fine... it worked fine with prior version of coppermine (1.2)

Any ideas?
Logged

jarekn

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
FYI:
« Reply #5 on: October 17, 2004, 07:04:37 am »

I replaced the searchnew.php with the one from version 1.2 and the list of directories showed up... so it probably has to do something with the new file...

PS my coppermine is integrated with vBulletin 3.0.3 but I don't think this has anything to do with it...
Logged

jarekn

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 47
Doh! I got it...
« Reply #6 on: October 17, 2004, 07:09:59 am »

In the old version the system would look inside the albums/userpics folder... now it looks inside albums folder.... that's all there is to it...
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: BATCH UPLAOD -- No Directories DISPLAYED NOT USING userpics
« Reply #7 on: October 17, 2004, 08:34:47 am »

So what exactly was the problem? You had said that you didn't put the files in userpics.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: BATCH UPLAOD -- No Directories DISPLAYED NOT USING userpics
« Reply #8 on: October 17, 2004, 12:14:20 pm »

you're simply not meant to ftp-upload to the userpics directory. You never were, in no coppermine version ever. In cpg1.3.x, we're just forcing this by not displaying the userpics folder in batch-add. Replacing files from cpg1.3.x with ones from an older package is not recommended, might lead to "funny" results later. This is all being covered in the docs, please read before posting.

@all who cursory read this thread: do not use the above mentioned workaround - do not use the searchnew.php file from cpg1.2.x with cpg1.3.x - there are valid reasons for hiding the userpics folder, you're not meant to upload to it when ftp-uploading!

Joachim

Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.