error when batch uploading - click for details or to reload error when batch uploading - click for details or to reload
 

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

error when batch uploading - click for details or to reload

Started by oztexs, October 16, 2008, 12:48:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

oztexs

Hi all,

Ive been successfully using cpm 1.4.16 for awhile .. until i changed providers. Everything works except when i try to batch add pictures.

Here is the error i get >> "The image 'path/to/image' cannot be displayed, because it contains errors ...

* Iam using Gd version 2.0.X
* i have checked all directory permissions

Here is a dump of the logging >>




USER:
------------------
Array
(
    [ID] => 9d61178bde21cd14a049c21cd121c329
    [am] => 1
    [lang] => english
    [liv] => Array
        (
           
  • => 165
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_name] => oztrex
        [groups] => Array
            (
               
  • => 1
            )

        [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
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cp_filetypes; (0s)
        [1] => select * from cp_plugins order by priority asc; (0s)
        [2] => delete from `ozt50016_cpm1`.cp_sessions where time<1224150245 and remember=0; (0s)
        [3] => delete from `ozt50016_cpm1`.cp_sessions where time<1222944245; (0s)
        [4] => select user_id from `ozt50016_cpm1`.cp_sessions where session_id=md5("1e19303c62fadb34725e37e753b7ef41a8a7e38617340b163bcaaec831f6f30d"); (0s)
        [5] => select user_id as id, user_password as password from `ozt50016_cpm1`.cp_users where user_id=1 (0s)
        [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `ozt50016_cpm1`.cp_users AS u INNER JOIN `ozt50016_cpm1`.cp_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `ozt50016_cpm1`.cp_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
        [8] => 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 cp_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cp_usergroups WHERE group_id= 1 (0s)
        [10] => update `ozt50016_cpm1`.cp_sessions set time='1224153845' where session_id=md5('1e19303c62fadb34725e37e753b7ef41a8a7e38617340b163bcaaec831f6f30d'); (0s)
        [11] => SELECT user_favpics FROM cp_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cp_banned WHERE expiry < '2008-10-16 10:44:05' (0s)
        [13] => SELECT * FROM cp_banned WHERE (ip_addr='210.49.9.249' OR ip_addr='210.49.9.249' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT aid, title FROM cp_albums WHERE 1 (0s)
        [15] => SELECT COUNT(*) FROM cp_pictures WHERE approved = 'NO' (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [checkAll2] => on
        [d0000] => 55
        [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
            )

        [album_lb_id_i0000] => d0000
        [picfile_i0000] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0MTQuanBn
        [album_lb_id_i0001] => d0000
        [picfile_i0001] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0MTkuanBn
        [album_lb_id_i0002] => d0000
        [picfile_i0002] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0MjEuanBn
        [album_lb_id_i0003] => d0000
        [picfile_i0003] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0MjUuanBn
        [album_lb_id_i0004] => d0000
        [picfile_i0004] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0MjYuanBn
        [album_lb_id_i0005] => d0000
        [picfile_i0005] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0MjguanBn
        [album_lb_id_i0006] => d0000
        [picfile_i0006] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0MzAuanBn
        [album_lb_id_i0007] => d0000
        [picfile_i0007] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0MzEuanBn
        [album_lb_id_i0008] => d0000
        [picfile_i0008] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0MzUuanBn
        [album_lb_id_i0009] => d0000
        [picfile_i0009] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0MzYuanBn
        [album_lb_id_i0010] => d0000
        [picfile_i0010] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0MzcuanBn
        [album_lb_id_i0011] => d0000
        [picfile_i0011] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0MzguanBn
        [album_lb_id_i0012] => d0000
        [picfile_i0012] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0NDEuanBn
        [album_lb_id_i0013] => d0000
        [picfile_i0013] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0NDMuanBn
        [album_lb_id_i0014] => d0000
        [picfile_i0014] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0NDcuanBn
        [album_lb_id_i0015] => d0000
        [picfile_i0015] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0NDguanBn
        [album_lb_id_i0016] => d0000
        [picfile_i0016] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0NDkuanBn
        [album_lb_id_i0017] => d0000
        [picfile_i0017] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0NTAuanBn
        [album_lb_id_i0018] => d0000
        [picfile_i0018] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0NTEuanBn
        [album_lb_id_i0019] => d0000
        [picfile_i0019] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0NTIuanBn
        [album_lb_id_i0020] => d0000
        [picfile_i0020] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0NTQuanBn
        [album_lb_id_i0021] => d0000
        [picfile_i0021] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0NTUuanBn
        [album_lb_id_i0022] => d0000
        [picfile_i0022] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0NTYuanBn
        [album_lb_id_i0023] => d0000
        [picfile_i0023] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0NTcuanBn
        [album_lb_id_i0024] => d0000
        [picfile_i0024] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0NTguanBn
        [album_lb_id_i0025] => d0000
        [picfile_i0025] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0NTkuanBn
        [album_lb_id_i0026] => d0000
        [picfile_i0026] => cGVyc29uYWwvaGFybGV5cmlkZTIwMDgvUEEwNTA0NjAuanBn
        [checkAll] => on
        [insert] => Insert selected files
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.2.4 - OK
    ------------------
    mySQL version: 5.0.51a-community-log
    ------------------
    Coppermine version: 1.4.10(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.34 compatible)
    FreeType Support:
    T1Lib Support:
    GIF Read Support: 1
    GIF Create Support: 1
    JPG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XPM Support: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 5.0.51a
    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
    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 | .:/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 | 60 | 60
    upload_max_filesize | 2M | 2M
    post_max_size | 8M | 8M
    ==========================

    Page generated in 0.257 seconds - 16 queries in 0 seconds - Album set : ; Meta set: ;

    [/i]


    Can anyone please help ??


oztexs


Joachim Müller

You tried that? Really? Did you try reading that section carefully once more? How about this (quote):
QuoteAsking for support on upload issues

When asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested. If you want fast results, you should disable admin approval for the group the test user is in, so supporters can tell instantly what is wrong without needing to double-check.

When people have issues with uploading and decide to post their question on the Coppermine support board, they usually are told to read this upload troubleshooting section. Many of them fail to do so properly, which results in frustration both for users as well as supporters. To make this absolutely clear: the above mentioned steps are absolutely mandatory, no matter what skill level you have, no matter what upload method you have troubles with. Failing to do exactly as suggested will result in your request for help being ignored. Yes, this applies to you. We mean it!
I can't see that you did as suggested: you failed to post the link and test user account. Instead, you posted debug_output although the docs clearly say that you mustn't do that unless requested.