forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: CliffDillard 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
-
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.'/').'&parentform='.rawurlencode($parentform).'&formelementname='.rawurlencode($formelementname).'&no_popup='.$_REQUEST['no_popup'].'&limitfolder='.$_REQUEST['limitfolder'].'&hidefolders='.$_REQUEST['hidefolders'].'&linktarget='.$_REQUEST['linktarget'].'">'.$newline;
i change to
print '<a href="'.$_SERVER['PHP_SELF'].'?folder='.rawurlencode(''.ltrim($folder, '/').$key.'/').'&parentform='.rawurlencode($parentform).'&formelementname='.rawurlencode($formelementname).'&no_popup='.$_REQUEST['no_popup'].'&limitfolder='.$_REQUEST['limitfolder'].'&hidefolders='.$_REQUEST['hidefolders'].'&linktarget='.$_REQUEST['linktarget'].'">'.$newline;
Seems problem in - /
Someone knows a better way?
-
@CliffDillard: your issue may or may not be related. Do exactly as suggested in the upload troubleshooting section of the docs.
-
The recommendation from JFlash worked. Thanks