Batch Upload doesn't work Batch Upload doesn't work
 

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

Batch Upload doesn't work

Started by sean_gut, October 31, 2005, 12:59:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sean_gut

Hi, I read all the threads about batch upload errors (hope so) My problem is, that I uploaded the images, klick on Batch add all the pictures are found (1800) I choose an album to add, an klick "Add marked files" at the bottom of the page, when I click, it loads for a few seconds, but nothing happens, it is all chmod is correct otherwise i won't see the thumbnails, it kust doesn't add the pics to the database... The funny thing is, it did 6 times now this is the 7th album that I try to batch add.... the other 6 times it worked pretty fine...

Joachim Müller


sean_gut

Ok did that, this is what it says:

1. When it starts to make the thumbnails:

QuoteUSER:
------------------
Array
(
    [ID] => 3a5fa8c5ede4a39f325f36cf647d3c6d
    [am] => 1
    [lap] => 2
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => s********
    [user_password] => ********
    [user_lastvisit] => 2005-10-30 22:21:35
    [user_regdate] => 2004-07-27 00:03:55
    [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] => 0
    [ufc_min] => 0
    [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] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content FROM cpg131_filetypes;
        [1] => SELECT * FROM cpg131_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'f097e2ab3ca5f49df2c2bac30a8a2279'
        [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 cpg131_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg131_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg131_banned WHERE expiry < '2005-10-31 21:07:04'
        [5] => SELECT * FROM cpg131_banned WHERE ip_addr='84.58.194.57' OR ip_addr='84.58.194.57' OR user_id=1
        [6] => SELECT aid, title FROM cpg131_albums WHERE 1
        [7] => SELECT filepath, filename FROM cpg131_pictures WHERE filepath LIKE 'screenshots/Staffel_7%'
        [8] => SELECT aid, title FROM cpg131_albums WHERE category = 0 ORDER BY title
        [9] => SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM cpg131_albums as a, cpg131_categories as c WHERE a.category = c.cid AND a.category < '10000' ORDER BY cname,title
        [10] => SELECT aid, CONCAT('(', user_name, ') ', title) AS title FROM cpg131_albums AS a INNER JOIN cpg131_users AS u ON category = (10000 + user_id) ORDER BY title
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [startdir] => screenshots/Staffel_7
    )

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.10 - OK
    ------------------
    mySQL version: 4.0.21-max
    ------------------
    Coppermine version: 1.3.5
    ==========================
    Module: gd
    ------------------
    GD Support enabled
    GD Version 2.0 or higher
    FreeType Support enabled
    FreeType Linkage with freetype
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 0
    Active Links 1
    Client API version 3.23.58
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /tmp/mysql.sock
    MYSQL_INCLUDE -I/usr/local//include/mysql
    MYSQL_LIBS -L/usr/local//lib/mysql -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 | On | Off
    safe_mode_exec_dir | /usr/phpbin | /usr/phpbin
    safe_mode_gid | Off | Off
    safe_mode_include_dir | no value | no value
    safe_mode_exec_dir | /usr/phpbin | /usr/phpbin
    sql.safe_mode | Off | Off
    disable_functions | no value | no value
    file_uploads | On | On
    include_path | .:/usr/local/lib/php | .:/usr/local/lib/php
    open_basedir | /home/www/doc/11781:/usr/local/lib/php:/usr/phpbin | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    sendmail_path | /usr/local/sbin/sendmail -t -i  | /usr/local/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 | 10M | 10M
    ==========================
    Page generated in 1.698 seconds - 11 queries in 0.089 seconds - Album set :
Hope this helps

sean_gut

I fexed it manually, i Think it is a timeout, cos there are about 1876 pics to add, so what I did was to mark only 500 of them, wich was a lot of work... did that 4 times, now there in the database, ... but for next time, i hope someone can fix this problem...