coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: alexsb on June 02, 2005, 11:47:30 AM

Title: Batch Add Files - Can not select a Folder
Post by: alexsb on June 02, 2005, 11:47:30 AM
Hi,

I have doen as described in http://forum.coppermine-gallery.net/index.php?topic=17966.0 to batch add files, but if I press the button "Batch add Files" I get a menue with the text:

"Select directory
This function allows you to add a batch of file that your have uploaded to your server by FTP.

Select the directory where you have uploaded your files"

But there is no Button or no field at all.

This is the debug output:


USER:
------------------
Array
(
    [ID] => 0fe0cf398a27a10dc5da8fa10fbe5255
    [am] => 1
    [liv] => Array
        (
            [0] => 1
            [1] => 5
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => alexsb
    [user_password] => ********
    [user_lastvisit] => 2005-06-01 23:58:16
    [user_regdate] => 2005-06-01 23:57:46
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content FROM cpg133_filetypes;
    [1] => SELECT * FROM cpg133_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'fad5d08b94a08157375c707511069493'
    [2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg133_usergroups WHERE group_id in (1)
    [3] => SELECT group_name FROM  cpg133_usergroups WHERE group_id= 1
    [4] => DELETE FROM cpg133_banned WHERE expiry < '2005-06-02 11:27:18'
    [5] => SELECT * FROM cpg133_banned WHERE ip_addr='143.50.212.4' OR ip_addr='143.50.212.4' OR user_id=1
    [6] => SELECT aid, title FROM cpg133_albums WHERE 1
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.1.2 - OK
------------------
mySQL version: 4.0.24-standard
------------------
Coppermine version: 1.3.3
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
module doesn't exist
==========================
Module: zlib
------------------
module doesn't exist
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | On
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | system, exec, shell_exec, passthru, show_source, proc_open, popen | system, exec, shell_exec, passthru, show_source, proc_open, popen
file_uploads | 1 | 1
include_path | .:/usr/lib/php | .:/usr/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost |  |
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30 |  |
upload_max_filesize | 20097152 | 20097152
post_max_size | 8M | 8M
==========================
Page generated in 0.442 seconds - 7 queries in 0.023 seconds - Album set :

Title: Re: Batch Add Files - Can not select a Folder
Post by: POOFY on June 02, 2005, 02:46:38 PM
I got the same probleme. We need fast support. ;-)

MfG
POOFY
Title: Re: Batch Add Files - Can not select a Folder
Post by: Joachim Müller on June 02, 2005, 11:47:31 PM
if you need fast support, hire a coder who owns a Porsche ;).
Have you ftp-uploaded anything yet, and if yes, into which folder? A link might help as well.
Title: Re: Batch Add Files - Can not select a Folder
Post by: alexsb on June 03, 2005, 12:21:18 AM
Hi,

yes I have uploaded the files to this: http://www.stahlbau-lex.at/alex/gallery/albums/userpics/stausee_wienerbruck_07.04.2005/ Folder, the gallery root is in http://www.stahlbau-lex.at/alex/gallery/
Title: Re: Batch Add Files - Can not select a Folder
Post by: kegobeer on June 03, 2005, 01:22:19 AM
Read the documentation - 4.7 Uploading pics by FTP / Batch-Add Pictures
Title: Re: Batch Add Files - Can not select a Folder
Post by: alexsb on June 03, 2005, 01:24:25 AM
Ok, I read the manual, I placed the files in the wrong folder - sry,

Alex
Title: Re: Batch Add Files - Can not select a Folder
Post by: kegobeer on June 03, 2005, 01:26:16 AM
No problem.  That's why we wrote the documentation.
Title: Re: Batch Add Files - Can not select a Folder
Post by: S-i-r on June 03, 2005, 01:48:46 AM
Ive got the same problem..

Trying to use batch add, but I only get:

"This function allows you to add a batch of file that your have uploaded to your server by FTP.

Select the directory where you have uploaded your files"

But I cant select any folders.. Ive uploaded the images to albums/up
Title: Re: Batch Add Files - Can not select a Folder
Post by: Joachim Müller on June 03, 2005, 06:57:37 AM
post a deep link to one of the files that you uploaded.