[Closed]: Batch upload - image thumbnails don't load and click for details errors? [Closed]: Batch upload - image thumbnails don't load and click for details errors?
 

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

[Closed]: Batch upload - image thumbnails don't load and click for details errors?

Started by Llama8668, September 23, 2008, 11:40:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Llama8668

I've found my small coppermine galleries have begun throwing errors when using the batch upload feature of the software. It'd be useful to know if it's a configuration error or something else I can fix or something wrong with the site host.

When using batch upload the thumbnail page prior to insertion (which lists filenames and gives a thumb of the images to be added) often doesn't show thumnails for some of the images (say 10 don't show up if 70 images are being added) - it seems to be fairly random as to which don't have thumbnails (and clicking on the filenames opens the full image without errors. On the next page (which shows the status of each file insertion) it's common to see "Click for details errors or reload" error text (this doesn't relate to the thumbnail failure and effects a sizeable number of images - at times as high as 40%-50% I think). Clicking on the error text tends to work though it's not really practical to have to manually click through multiple images to force the insertion.

Every so often when manually clicking on the "Click for details errors or reload" an Internal Server Error which does feel like it might be contributing to the issues. Could it be (and is it indicative of any specific issue - such as bad code in a .htaccess file)?

baysidemk

I am having a similar problem.  About half of the thumnails on the batch add upload page are broken images and these do not get inserted into the album.  the file names are all clickable and all of them pull up the full size image.  I set debug mode and there don't appear to be any error messages (see below):

USER:
------------------
Array
(
    [ID] => d01dceb2a1f60c533895d176ff44c121
    [am] => 1
    [lang] => english
    [liv] => Array
        (
           
  • => 3
                [1] => 4
                [2] => 2
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 62
        [user_name] => admin
        [groups] => Array
            (
               
  • => 125
            )

        [disk_max] =>
        [disk_min] =>
        [can_rate_pictures] =>
        [can_send_ecards] =>
        [ufc_max] =>
        [ufc_min] =>
        [custom_user_upload] =>
        [num_file_upload] =>
        [num_URI_upload] =>
        [can_post_comments] =>
        [can_upload_pictures] =>
        [can_create_albums] =>
        [has_admin_access] => 1
        [pub_upl_need_approval] =>
        [priv_upl_need_approval] =>
        [group_name] =>
        [upload_form_config] =>
        [group_quota] => 0
        [can_see_all_albums] => 1
        [group_id] => 125
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
        [1] => select * from cpg14x_plugins order by priority asc; (0s)
        [2] => SELECT * FROM cpg14x_bridge (0s)
        [3] => 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 cpg14x_usergroups WHERE group_id in (125) (0s)
        [4] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 125 (0s)
        [5] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 62 (0s)
        [6] => DELETE FROM cpg14x_banned WHERE expiry < '2009-06-21 12:21:13' (0s)
        [7] => SELECT * FROM cpg14x_banned WHERE (ip_addr='68.173.182.71' OR ip_addr='68.173.182.71' OR user_id=62) AND brute_force=0 (0s)
        [8] => SELECT aid, title FROM cpg14x_albums WHERE 1 (0s)
        [9] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
        [10] => SELECT filepath, filename FROM cpg14x_pictures WHERE filepath LIKE 'Sackler2009JPGs%' (0s)
        [11] => SELECT aid, title FROM cpg14x_albums WHERE category = 0 (0s)
        [12] => SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM cpg14x_albums as a, cpg14x_categories as c WHERE a.category = c.cid AND a.category < '10000' (0s)
        [13] => SELECT aid, CONCAT('(', username, ') ', a.title) AS title
                                                            FROM cpg14x_albums AS a
                                                            INNER JOIN `nyckatz`.jos_users AS u
                                                            ON category = (10000 + 62) AND id = 62 ORDER BY title (0s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [startdir] => Sackler2009JPGs
    )

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.1.6 - OK
    ------------------
    mySQL version: 5.0.45
    ------------------
    Coppermine version: 1.4.24(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support:
    GIF Read Support: 1
    GIF Create Support: 1
    JPG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XPM Support:
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 3
    Client API version 5.0.45
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib64/mysql -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Stream Wrapper support compress.zlib://
    Stream Filter support zlib.inflate, zlib.deflate
    Compiled Version 1.2.3
    Linked Version 1.2.3
    ==========================
    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 | .: | .:
    open_basedir | /var/www/vhosts/nyckatz.com/httpdocs:/tmp | 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 | 180 | 180
    max_input_time | 180 | 180
    upload_max_filesize | 25M | 25M
    post_max_size | 16M | 16M
    ==========================
    Page generated in 0.155 seconds - 14 queries in 0 seconds - Album set : ; Meta set: ;

Joachim Müller

You both had a bad start, so I'm locking this thread. Please try from scratch.

Here are some rules you need to respect:

1) Don't hijack other's threads, but start a thread of your own
2) Don't post debug_output unless requested
3) Read the docs before posting
4) Do exactly as suggested in the docs, section "asking for support on upload issues" if you have any issues related to uploading
5) Always post a link to your gallery when you start a support thread.