Batch Upload question Batch Upload question
 

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 Upload question

Started by CliffDillard, March 20, 2006, 04:07:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

CliffDillard

New user, new installation
I am trying to use the batch upload function
I set up a folder:  /coppermine/albums/uploads
and I uploaded some photos to that folder (uploads)
But when I click on the Batch Add Files button I continue to get the message
There are no folders inside the "albums" folder yet. Make sure to create at least one custom folder within "albums" folder and ftp-upload your files there. You mustn't upload to the "userpics" nor "edit" folders, they are reserved for http uploads and internal purposes.
What am I missing?
Thanks

jflash

I had same error. Do you use coppermine on microsoft filesystem (FAT, NTFS) ? I made some changes in minibrowser.php:
   $base_folder = rtrim(cpg_get_webroot_path(), '/').'/';
i change to
   $base_folder = rtrim(cpg_get_webroot_path(), '/').'';

and
   print '<a href="'.$_SERVER['PHP_SELF'].'?folder='.rawurlencode('/'.ltrim($folder, '/').$key.'/').'&amp;parentform='.rawurlencode($parentform).'&amp;formelementname='.rawurlencode($formelementname).'&amp;no_popup='.$_REQUEST['no_popup'].'&amp;limitfolder='.$_REQUEST['limitfolder'].'&amp;hidefolders='.$_REQUEST['hidefolders'].'&amp;linktarget='.$_REQUEST['linktarget'].'">'.$newline;
i change to
   print '<a href="'.$_SERVER['PHP_SELF'].'?folder='.rawurlencode(''.ltrim($folder, '/').$key.'/').'&amp;parentform='.rawurlencode($parentform).'&amp;formelementname='.rawurlencode($formelementname).'&amp;no_popup='.$_REQUEST['no_popup'].'&amp;limitfolder='.$_REQUEST['limitfolder'].'&amp;hidefolders='.$_REQUEST['hidefolders'].'&amp;linktarget='.$_REQUEST['linktarget'].'">'.$newline;

Seems problem in - /

Someone knows a better way?

Joachim Müller

@CliffDillard: your issue may or may not be related. Do exactly as suggested in the upload troubleshooting section of the docs.

CliffDillard

The recommendation from JFlash worked.   Thanks