Batch Upload question Batch Upload question
 

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