Sigh. Can't Batch Upload. Please help. Sigh. Can't Batch Upload. Please help.
 

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

Sigh. Can't Batch Upload. Please help.

Started by frontlines, November 20, 2004, 05:43:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

frontlines

Hi. I've been combing this forum for an hour or so now, and can't find the solution to my problem.

I've checked, double checked, and re-double checked the CHMOD on ALL files and folders, but I still get the PB deal when I try to batch upload. Max file size is something ridiculously small like 42KB, although most are way under that.

The site is www.tkdplus.org/photo.

If you need a username/pass just let me know. I'm also going to include the info from the debug:


USER:
------------------
Array
(
    [ID] => 425cc8b368f7530271f1a80116ebe871
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 3
    [user_group] => 2
    [user_active] => YES
    [user_name] => admin
    [user_password] => ********
    [user_lastvisit] => 2004-11-19 21:38:48
    [user_regdate] => 2004-11-15 07:44:35
    [user_group_list] => 1
    [user_email] => cwatson@tkdplus.org
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [user_favpics] =>
    [disk_max] => 1024
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 1
    [num_file_upload] => 10
    [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] => Registered
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 2
    [groups] => Array
        (
           
  • => 1
                [1] => 2
            )

    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg_filetypes;
        [1] => SELECT * FROM cpg_users WHERE user_id='3'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '3074eba1996d4f3b40f3d36fe2b470d2'
        [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 cpg_usergroups WHERE group_id in (1,2)
        [3] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 2
        [4] => DELETE FROM cpg_banned WHERE expiry < 1100924585
        [5] => SELECT * FROM cpg_banned WHERE ip_addr='68.47.198.5' OR ip_addr='68.47.198.5' OR user_id=3
        [6] => UPDATE cpg_config SET  value = 'TKD Plus Online Photo Gallery' WHERE name = 'gallery_name'
        [7] => UPDATE cpg_config SET  value = 'Photos of the students of Watson\'s Taekwondo Plus in action!' WHERE name = 'gallery_description'
        [8] => UPDATE cpg_config SET  value = 'tkdplus@tkdplus.org' WHERE name = 'gallery_admin_email'
        [9] => UPDATE cpg_config SET  value = 'http://tkdplus.org/photo/'; WHERE name = 'ecards_more_pic_target'
        [10] => UPDATE cpg_config SET  value = '0' WHERE name = 'offline'
        [11] => UPDATE cpg_config SET  value = '0' WHERE name = 'log_ecards'
        [12] => UPDATE cpg_config SET  value = '1' WHERE name = 'enable_zipdownload'
        [13] => UPDATE cpg_config SET  value = 'english' WHERE name = 'lang'
        [14] => UPDATE cpg_config SET  value = 'classic' WHERE name = 'theme'
        [15] => UPDATE cpg_config SET  value = '0' WHERE name = 'language_list'
        [16] => UPDATE cpg_config SET  value = '0' WHERE name = 'language_flags'
        [17] => UPDATE cpg_config SET  value = '1' WHERE name = 'language_reset'
        [18] => UPDATE cpg_config SET  value = '0' WHERE name = 'theme_list'
        [19] => UPDATE cpg_config SET  value = '1' WHERE name = 'theme_reset'
        [20] => UPDATE cpg_config SET  value = '0' WHERE name = 'display_faq'
        [21] => UPDATE cpg_config SET  value = '1' WHERE name = 'show_bbcode_help'
        [22] => UPDATE cpg_config SET  value = 'language file' WHERE name = 'charset'
        [23] => UPDATE cpg_config SET  value = '100%' WHERE name = 'main_table_width'
        [24] => UPDATE cpg_config SET  value = '2' WHERE name = 'subcat_level'
        [25] => UPDATE cpg_config SET  value = '12' WHERE name = 'albums_per_page'
        [26] => UPDATE cpg_config SET  value = '2' WHERE name = 'album_list_cols'
        [27] => UPDATE cpg_config SET  value = '50' WHERE name = 'alb_list_thumb_size'
        [28] => UPDATE cpg_config SET  value = 'breadcrumb/catlist/alblist/random,2/lastup,2' WHERE name = 'main_page_layout'
        [29] => UPDATE cpg_config SET  value = '1' WHERE name = 'first_level'
        [30] => UPDATE cpg_config SET  value = '4' WHERE name = 'thumbcols'
        [31] => UPDATE cpg_config SET  value = '3' WHERE name = 'thumbrows'
        [32] => UPDATE cpg_config SET  value = '12' WHERE name = 'max_tabs'
        [33] => UPDATE cpg_config SET  value = '1' WHERE name = 'caption_in_thumbview'
        [34] => UPDATE cpg_config SET  value = '1' WHERE name = 'views_in_thumbview'
        [35] => UPDATE cpg_config SET  value = '0' WHERE name = 'display_comment_count'
        [36] => UPDATE cpg_config SET  value = '0' WHERE name = 'display_uploader'
        [37] => UPDATE cpg_config SET  value = 'na' WHERE name = 'default_sort_order'
        [38] => UPDATE cpg_config SET  value = '1' WHERE name = 'min_votes_for_rating'
        [39] => UPDATE cpg_config SET  value = '600' WHERE name = 'picture_table_width'
        [40] => UPDATE cpg_config SET  value = '0' WHERE name = 'display_pic_info'
        [41] => UPDATE cpg_config SET  value = '0' WHERE name = 'filter_bad_words'
        [42] => UPDATE cpg_config SET  value = '1' WHERE name = 'enable_smilies'
        [43] => UPDATE cpg_config SET  value = '0' WHERE name = 'disable_comment_flood_protect'
        [44] => UPDATE cpg_config SET  value = '512' WHERE name = 'max_img_desc_length'
        [45] => UPDATE cpg_config SET  value = '38' WHERE name = 'max_com_wlength'
        [46] => UPDATE cpg_config SET  value = '10' WHERE name = 'max_com_lines'
        [47] => UPDATE cpg_config SET  value = '512' WHERE name = 'max_com_size'
        [48] => UPDATE cpg_config SET  value = '1' WHERE name = 'display_film_strip'
        [49] => UPDATE cpg_config SET  value = '5' WHERE name = 'max_film_strip_items'
        [50] => UPDATE cpg_config SET  value = '0' WHERE name = 'email_comment_notification'
        [51] => UPDATE cpg_config SET  value = '5000' WHERE name = 'slideshow_interval'
        [52] => UPDATE cpg_config SET  value = '80' WHERE name = 'jpeg_qual'
        [53] => UPDATE cpg_config SET  value = '100' WHERE name = 'thumb_width'
        [54] => UPDATE cpg_config SET  value = 'ht' WHERE name = 'thumb_use'
        [55] => UPDATE cpg_config SET  value = '1' WHERE name = 'make_intermediate'
        [56] => UPDATE cpg_config SET  value = '400' WHERE name = 'picture_width'
        [57] => UPDATE cpg_config SET  value = '1024' WHERE name = 'max_upl_size'
        [58] => UPDATE cpg_config SET  value = '2048' WHERE name = 'max_upl_width_height'
        [59] => UPDATE cpg_config SET  value = '0' WHERE name = 'show_private'
        [60] => UPDATE cpg_config SET  value = '$\\\\:*?"\'<>|`' WHERE name = 'forbiden_fname_char'
        [61] => UPDATE cpg_config SET  value = 'ALL' WHERE name = 'allowed_img_types'
        [62] => UPDATE cpg_config SET  value = 'ALL' WHERE name = 'allowed_mov_types'
        [63] => UPDATE cpg_config SET  value = 'ALL' WHERE name = 'allowed_snd_types'
        [64] => UPDATE cpg_config SET  value = 'ALL' WHERE name = 'allowed_doc_types'
        [65] => UPDATE cpg_config SET  value = 'gd2' WHERE name = 'thumb_method'
        [66] => UPDATE cpg_config SET  value = '' WHERE name = 'impath'
        [67] => UPDATE cpg_config SET  value = '-antialias' WHERE name = 'im_options'
        [68] => UPDATE cpg_config SET  value = '1' WHERE name = 'read_exif_data'
        [69] => UPDATE cpg_config SET  value = '1' WHERE name = 'read_iptc_data'
        [70] => UPDATE cpg_config SET  value = 'albums/' WHERE name = 'fullpath'
        [71] => UPDATE cpg_config SET  value = 'userpics/' WHERE name = 'userpics'
        [72] => UPDATE cpg_config SET  value = 'normal_' WHERE name = 'normal_pfx'
        [73] => UPDATE cpg_config SET  value = 'thumb_' WHERE name = 'thumb_pfx'
        [74] => UPDATE cpg_config SET  value = '0777' WHERE name = 'default_dir_mode'
        [75] => UPDATE cpg_config SET  value = '0666' WHERE name = 'default_file_mode'
        [76] => UPDATE cpg_config SET  value = '0' WHERE name = 'allow_user_registration'
        [77] => UPDATE cpg_config SET  value = '1' WHERE name = 'reg_requires_valid_email'
        [78] => UPDATE cpg_config SET  value = '0' WHERE name = 'reg_notify_admin_email'
        [79] => UPDATE cpg_config SET  value = '0' WHERE name = 'allow_duplicate_emails_addr'
        [80] => UPDATE cpg_config SET  value = '1' WHERE name = 'allow_private_albums'
        [81] => UPDATE cpg_config SET  value = '0' WHERE name = 'upl_notify_admin_email'
        [82] => UPDATE cpg_config SET  value = '0' WHERE name = 'allow_memberlist'
        [83] => UPDATE cpg_config SET  value = '' WHERE name = 'user_field1_name'
        [84] => UPDATE cpg_config SET  value = '' WHERE name = 'user_field2_name'
        [85] => UPDATE cpg_config SET  value = '' WHERE name = 'user_field3_name'
        [86] => UPDATE cpg_config SET  value = '' WHERE name = 'user_field4_name'
        [87] => UPDATE cpg_config SET  value = 'cpg132' WHERE name = 'cookie_name'
        [88] => UPDATE cpg_config SET  value = '/' WHERE name = 'cookie_path'
        [89] => UPDATE cpg_config SET  value = '1' WHERE name = 'debug_mode'
        [90] => UPDATE cpg_config SET  value = '1' WHERE name = 'debug_notice'
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [gallery_name] => TKD Plus Online Photo Gallery
        [gallery_description] => Photos of the students of Watson's Taekwondo Plus in action!
        [gallery_admin_email] => tkdplus@tkdplus.org
        [ecards_more_pic_target] => http://tkdplus.org/photo/
        [offline] => 0
        [log_ecards] => 0
        [enable_zipdownload] => 1
        [lang] => english
        [theme] => classic
        [language_list] => 0
        [language_flags] => 0
        [language_reset] => 1
        [theme_list] => 0
        [theme_reset] => 1
        [display_faq] => 0
        [show_bbcode_help] => 1
        [charset] => language file
        [main_table_width] => 100%
        [subcat_level] => 2
        [albums_per_page] => 12
        [album_list_cols] => 2
        [alb_list_thumb_size] => 50
        [main_page_layout] => breadcrumb/catlist/alblist/random,2/lastup,2
        [first_level] => 1
        [thumbcols] => 4
        [thumbrows] => 3
        [max_tabs] => 12
        [caption_in_thumbview] => 1
        [views_in_thumbview] => 1
        [display_comment_count] => 0
        [display_uploader] => 0
        [default_sort_order] => na
        [min_votes_for_rating] => 1
        [picture_table_width] => 600
        [display_pic_info] => 0
        [filter_bad_words] => 0
        [enable_smilies] => 1
        [disable_comment_flood_protect] => 0
        [max_img_desc_length] => 512
        [max_com_wlength] => 38
        [max_com_lines] => 10
        [max_com_size] => 512
        [display_film_strip] => 1
        [max_film_strip_items] => 5
        [email_comment_notification] => 0
        [slideshow_interval] => 5000
        [jpeg_qual] => 80
        [thumb_width] => 100
        [thumb_use] => ht
        [make_intermediate] => 1
        [picture_width] => 400
        [max_upl_size] => 1024
        [max_upl_width_height] => 2048
        [show_private] => 0
        [forbiden_fname_char] => $\\:*?"'<>|`
        [allowed_img_types] => ALL
        [allowed_mov_types] => ALL
        [allowed_snd_types] => ALL
        [allowed_doc_types] => ALL
        [thumb_method] => gd2
        [impath] =>
        [im_options] => -antialias
        [read_exif_data] => 1
        [read_iptc_data] => 1
        [fullpath] => albums/
        [userpics] => userpics/
        [normal_pfx] => normal_
        [thumb_pfx] => thumb_
        [default_dir_mode] => 0777
        [default_file_mode] => 0666
        [allow_user_registration] => 0
        [reg_requires_valid_email] => 1
        [reg_notify_admin_email] => 0
        [allow_duplicate_emails_addr] => 0
        [allow_private_albums] => 1
        [upl_notify_admin_email] => 0
        [allow_memberlist] => 0
        [user_field1_name] =>
        [user_field2_name] =>
        [user_field3_name] =>
        [user_field4_name] =>
        [cookie_name] => cpg132
        [cookie_path] => /
        [debug_mode] => 1
        [debug_notice] => 1
        [update_config] => Save new configuration
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.9 - OK
    ------------------
    mySQL version: 4.0.22-standard
    ------------------
    Coppermine version: 1.3.2
    ==========================
    Module: gd
    ------------------
    GD Support enabled
    GD Version bundled (2.0.28 compatible)
    FreeType Support enabled
    FreeType Linkage with freetype
    GIF Read Support enabled
    GIF Create Support enabled
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
    XBM Support enabled
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 0
    Active Links 1
    Client API version 4.0.22
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.1.4
    Linked Version 1.1.4
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | Off | Off
    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 | no value | no value
    file_uploads | On | On
    include_path | .:/usr/lib/php:/usr/local/lib/php:/usr/share/pear | .:/usr/lib/php:/usr/local/lib/php:/usr/share/pear
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | no value | no value
    sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
    SMTP | localhost | localhost
    smtp_port | 25 | 25
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value
    max_execution_time | 30 | 30
    max_input_time | -1 | -1
    upload_max_filesize | 10M | 10M
    post_max_size | 55M | 55M
    ==========================
    Page generated in 0.067 seconds - 91 queries in 0.012 seconds - Album set : 

kegobeer

Since you're having trouble during the batch add process, a test user won't do us any good.

What have you set the albums (and all directories under it) to?  777, 755?

If you've set it to 777, have you tried 755?  And vice-versa?

Are you able to upload pictures as a regular user, using the web interface?

If you can't upload as a regular user, then create a test account with normal privileges and post the login/pass here.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

n8_31

I am having the same kind of problem. When I click on 'Batch Add' it takes me to the batch add page, but says, '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.' I am the administrator, I have tried the thing that you mentioned above, and still it doesn't do anything. What do I do.

Nibbler

Upload into a new album within /albums/ not into userpics.