Advanced search  

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

Pages: [1]   Go Down

Author Topic: Batch Upload question  (Read 3979 times)

0 Members and 1 Guest are viewing this topic.

CliffDillard

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Batch Upload question
« on: March 20, 2006, 04:07:19 am »

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
« Last Edit: April 09, 2006, 04:57:24 pm by TranzNDance »
Logged

jflash

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Batch Upload question
« Reply #1 on: March 23, 2006, 11:29:23 am »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch Upload question
« Reply #2 on: March 23, 2006, 07:22:11 pm »

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

CliffDillard

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Batch Upload question
« Reply #3 on: April 09, 2006, 04:45:00 pm »

The recommendation from JFlash worked.   Thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.