Batch Add Problem Batch Add Problem
 

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

Started by PaulAbbott, July 19, 2005, 08:50:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PaulAbbott

Hey everyone,
  I uploaded somewhere around 100-150 pics in subfolders inside /albums on my website. (http://pics.paul-abbott.net)

I used batch upload and everything went okay, until I tried to upload them. I selected the folder (which in this case happened to be /males) and all my pics turned up in red x's, I am not sure what happened. All the files are uploaded correctly and all the subfolders and album folder i CHMOD'ed to 777. Any ideas.

http://pics.paul-abbott.net
Username: test
password: tester

Debug:

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

==========================
USER DATA:
------------------
Array
(
   [user_id] => 1
   [user_group] => 1
   [user_active] => YES
   [user_name] => PaulAbbott
   [user_password] => ********
   [user_lastvisit] => 2005-07-19 10:36:09
   [user_regdate] => 2005-07-18 21:31:00
   [user_group_list] =>
   [user_email] =>
   [user_website] => http://www.paul-abbott.net
   [user_location] => Pittsburgh, PA
   [user_interests] => Computers, Women
   [user_occupation] => Foodland Stock Clerk, Freelance Web Designer
   [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
(
   
  • => 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) = '2760c7b84d4bad6b0b12d7c1a6c5e1a4'
       [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-07-19 10:38:43'
       [5] => SELECT * FROM cpg133_banned WHERE ip_addr='24.3.120.3' OR ip_addr='24.3.120.3' OR user_id=1
       [6] => SELECT aid, title FROM cpg133_albums WHERE 1
    )

    ==========================
    GET :
    ------------------
    Array
    (
       [insert] => 1
    )

    ==========================
    POST :
    ------------------
    Array
    (
       [d0000] => 1
       [pics] => Array
           (
               
  • => i0000
               [1] => i0001
               [2] => i0002
               [3] => i0003
               [4] => i0004
               [5] => i0005
               [6] => i0006
               [7] => i0007
               [8] => i0008
               [9] => i0009
               [10] => i0010
               [11] => i0011
               [12] => i0012
               [13] => i0013
               [14] => i0014
               [15] => i0015
               [16] => i0016
               [17] => i0017
               [18] => i0018
               [19] => i0019
               [20] => i0020
               [21] => i0021
               [22] => i0022
               [23] => i0023
               [24] => i0024
               [25] => i0025
               [26] => i0026
               [27] => i0027
               [28] => i0028
               [29] => i0029
               [30] => i0030
               [31] => i0031
               [32] => i0032
               [33] => i0033
               [34] => i0034
               [35] => i0035
               [36] => i0036
               [37] => i0037
               [38] => i0038
               [39] => i0039
               [40] => i0040
               [41] => i0041
               [42] => i0042
           )

       [album_lb_id_i0000] => d0000
       [picfile_i0000] => bWFsZXMvMS5KUEc=
       [album_lb_id_i0001] => d0000
       [picfile_i0001] => bWFsZXMvMy5KUEc=
       [album_lb_id_i0002] => d0000
       [picfile_i0002] => bWFsZXMvNi5KUEc=
       [album_lb_id_i0003] => d0000
       [picfile_i0003] => bWFsZXMvNy5KUEc=
       [album_lb_id_i0004] => d0000
       [picfile_i0004] => bWFsZXMvOC5KUEc=
       [album_lb_id_i0005] => d0000
       [picfile_i0005] => bWFsZXMvOS5KUEc=
       [album_lb_id_i0006] => d0000
       [picfile_i0006] => bWFsZXMvMTAuSlBH
       [album_lb_id_i0007] => d0000
       [picfile_i0007] => bWFsZXMvMTUuSlBH
       [album_lb_id_i0008] => d0000
       [picfile_i0008] => bWFsZXMvMTguSlBH
       [album_lb_id_i0009] => d0000
       [picfile_i0009] => bWFsZXMvMTkuSlBH
       [album_lb_id_i0010] => d0000
       [picfile_i0010] => bWFsZXMvMjAuSlBH
       [album_lb_id_i0011] => d0000
       [picfile_i0011] => bWFsZXMvMjEuSlBH
       [album_lb_id_i0012] => d0000
       [picfile_i0012] => bWFsZXMvMjIuSlBH
       [album_lb_id_i0013] => d0000
       [picfile_i0013] => bWFsZXMvMjMuSlBH
       [album_lb_id_i0014] => d0000
       [picfile_i0014] => bWFsZXMvMjQuSlBH
       [album_lb_id_i0015] => d0000
       [picfile_i0015] => bWFsZXMvMjUuSlBH
       [album_lb_id_i0016] => d0000
       [picfile_i0016] => bWFsZXMvMjYuSlBH
       [album_lb_id_i0017] => d0000
       [picfile_i0017] => bWFsZXMvMjcuSlBH
       [album_lb_id_i0018] => d0000
       [picfile_i0018] => bWFsZXMvMjguSlBH
       [album_lb_id_i0019] => d0000
       [picfile_i0019] => bWFsZXMvMjkuSlBH
       [album_lb_id_i0020] => d0000
       [picfile_i0020] => bWFsZXMvMzAuSlBH
       [album_lb_id_i0021] => d0000
       [picfile_i0021] => bWFsZXMvMzEuSlBH
       [album_lb_id_i0022] => d0000
       [picfile_i0022] => bWFsZXMvMzIuSlBH
       [album_lb_id_i0023] => d0000
       [picfile_i0023] => bWFsZXMvMzMuSlBH
       [album_lb_id_i0024] => d0000
       [picfile_i0024] => bWFsZXMvMzQuSlBH
       [album_lb_id_i0025] => d0000
       [picfile_i0025] => bWFsZXMvMzUuSlBH
       [album_lb_id_i0026] => d0000
       [picfile_i0026] => bWFsZXMvMzYuSlBH
       [album_lb_id_i0027] => d0000
       [picfile_i0027] => bWFsZXMvMzguSlBH
       [album_lb_id_i0028] => d0000
       [picfile_i0028] => bWFsZXMvMzkuSlBH
       [album_lb_id_i0029] => d0000
       [picfile_i0029] => bWFsZXMvNDAuSlBH
       [album_lb_id_i0030] => d0000
       [picfile_i0030] => bWFsZXMvNDEuSlBH
       [album_lb_id_i0031] => d0000
       [picfile_i0031] => bWFsZXMvNDIuSlBH
       [album_lb_id_i0032] => d0000
       [picfile_i0032] => bWFsZXMvNDMuSlBH
       [album_lb_id_i0033] => d0000
       [picfile_i0033] => bWFsZXMvNDQuSlBH
       [album_lb_id_i0034] => d0000
       [picfile_i0034] => bWFsZXMvNDUuSlBH
       [album_lb_id_i0035] => d0000
       [picfile_i0035] => bWFsZXMvNDYuSlBH
       [album_lb_id_i0036] => d0000
       [picfile_i0036] => bWFsZXMvNDcuSlBH
       [album_lb_id_i0037] => d0000
       [picfile_i0037] => bWFsZXMvNTUuSlBH
       [album_lb_id_i0038] => d0000
       [picfile_i0038] => bWFsZXMvNTcuSlBH
       [album_lb_id_i0039] => d0000
       [picfile_i0039] => bWFsZXMvNTguSlBH
       [album_lb_id_i0040] => d0000
       [picfile_i0040] => bWFsZXMvNjIuSlBH
       [album_lb_id_i0041] => d0000
       [picfile_i0041] => bWFsZXMvNjUuSlBH
       [album_lb_id_i0042] => d0000
       [picfile_i0042] => bWFsZXMvNzAuSlBH
       [insert] => Insert selected files
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.10 - OK
    ------------------
    mySQL version: 4.0.23-standard
    ------------------
    Coppermine version: 1.3.3
    ==========================
    Module: gd
    ------------------
    module doesn't exist
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 0
    Active Links 1
    Client API version 4.0.23
    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/lib/php:/usr/local/lib/php
    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 | 2M | 2M
    post_max_size | 55M | 55M
    ==========================
    Page generated in 1.801 seconds - 7 queries in 0.008 seconds - Album set :

Nightwalker

Module: gd
------------------
module doesn't exist

^^^ Well, there's your problem. You can't generate thumbnails without a GD or ImageMagick module installed with the server's PHP package. If you're webhosted, only your webhost can install the module.

@powers that be: I hope I didn't step on any toes by answering.  ;)

Tranz

Quote from: Nightwalker on July 19, 2005, 09:11:52 PM
@powers that be: I hope I didn't step on any toes by answering. ;)
Of course not. We appreciate the help. :)

Joachim Müller

GD might exist even if it doesn't show up in coppermine's debug output (depending on your PHP version). Use the method mentioned in the FAQ to find out. Another thing you should test first if your server is configured correctly in the first place - try the steps mentioned in http://coppermine.sourceforge.net/tutorial/uploads/troubleshooting.php as well.

PaulAbbott

GD is under PERL MODULES on the server

Nibbler

Having GD support for perl doesn't help coppermine much. You need to have GD support for PHP or use ImageMagick instead.

PaulAbbott

so i need to have my host intall imagemagik or can i do it?

kegobeer

Ask your host to install it.
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