Batch Add reverts to 'userpics' - my config says 'uploads' Batch Add reverts to 'userpics' - my config says 'uploads'
 

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 Add reverts to 'userpics' - my config says 'uploads'

Started by Charlie-brm, February 04, 2012, 05:01:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Charlie-brm

My config file settings have the folders to look in referred to as
The Album directory   albums/
Directory for user files   uploads/

Batch add files dialog shows the following depending on my choice of Browsable Interface:
Browsable Interface Yes - shows albums above a blank dialog box and no folder tree
Browsable Interface No  - shows a hyperlink to userpics  on a smaller box and no folder tree

It's like 'userpics' is hard coded somewhere because none of my settings ever contain it and I've always used Batch Add. I've run Coppermine for 5 years.
This Batch Add problem started when I switched hosting and this host company uses IIS,

Coppermine 1.5.18 Stable
All my pre-existing photos are in my own folder structure under albums/uploads/

Αndré

What's the actual issue? If you use batch-add those setting shouldn't affect anything.

Charlie-brm

Issue is that /userpics is the only folder offered to me in the Batch Add Files dialog and we are "not allowed" to put files there by FTP, so I don't. All that is in /userpics is the warning text file.

The Batch Add Files dialog does not have the facility to get me up a folder level to albums so I could navigate to albums/uploads to show the files I put in new folders using FTP.

Αndré

The batch-add interface hides the following files and directories by default:
$hiddenfolders = array('.', '..', '.svn', 'edit', 'Thumbs.db', '.DS_Store', '__MACOSX', '.htaccess', rtrim($CONFIG['userpics'],'/'));

So if your current setting for "Directory for user files" is "uploads/", that folder will be hidden as well. If just "userpics" is displayed, there's probably no other directory, except the hidden directories. Just create some directories with your FTP application and they should be displayed in the minibrowser. If not, please attach screenshots of both "batch add files" dialogs (with and without the browsable interface) and also a screenshot showing the content of your albums directory in your FTP application.