Can not upload BIG size files Can not upload BIG size files
 

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

Can not upload BIG size files

Started by Vini, December 15, 2005, 11:00:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Vini

DEBUG Info:

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

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => Vini
    [user_password] => ********
    [user_lastvisit] => 2005-12-15 15:56:25
    [user_regdate] => 2005-10-06 14:07:04
    [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] => 3
    [ufc_min] => 3
    [custom_user_upload] => 1
    [num_file_upload] => 10
    [num_URI_upload] => 10
    [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 cpg135_filetypes;
        [1] => SELECT * FROM cpg135_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '7fa81ff5e6a88a34ca2392240268c68f'
        [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 cpg135_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg135_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg135_banned WHERE expiry < '2005-12-15 15:57:10'
        [5] => SELECT * FROM cpg135_banned WHERE ip_addr='200.149.219.55' OR ip_addr='200.149.219.55' OR user_id=1
        [6] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = ''  ORDER BY pos
        [7] => SELECT aid FROM cpg135_albums as a WHERE category>=10000
        [8] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category >= 10000
        [9] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '1'  ORDER BY pos
        [10] => SELECT aid FROM cpg135_albums WHERE category = 2
        [11] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 2
        [12] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '2'  ORDER BY pos
        [13] => SELECT aid FROM cpg135_albums WHERE category = 3
        [14] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 3
        [15] => SELECT aid FROM cpg135_albums WHERE category = 4
        [16] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 4
        [17] => SELECT aid FROM cpg135_albums WHERE category = 5
        [18] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 5
        [19] => SELECT aid FROM cpg135_albums WHERE category = 6
        [20] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 6
        [21] => SELECT aid FROM cpg135_albums WHERE category = 7
        [22] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 7
        [23] => SELECT aid FROM cpg135_albums WHERE category = 8
        [24] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 8
        [25] => SELECT aid FROM cpg135_albums WHERE category = 9
        [26] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 9
        [27] => SELECT aid FROM cpg135_albums WHERE category = 37
        [28] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 37
        [29] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '37'  ORDER BY pos
        [30] => SELECT aid FROM cpg135_albums WHERE category = 38
        [31] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 38
        [32] => SELECT aid FROM cpg135_albums WHERE category = 39
        [33] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 39
        [34] => SELECT aid FROM cpg135_albums WHERE category = 40
        [35] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 40
        [36] => SELECT aid FROM cpg135_albums WHERE category = 41
        [37] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 41
        [38] => SELECT aid FROM cpg135_albums WHERE category = 42
        [39] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 42
        [40] => SELECT aid FROM cpg135_albums WHERE category = 43
        [41] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 43
        [42] => SELECT aid FROM cpg135_albums WHERE category = 44
        [43] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 44
        [44] => SELECT aid FROM cpg135_albums WHERE category = 22
        [45] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 22
        [46] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '22'  ORDER BY pos
        [47] => SELECT aid FROM cpg135_albums WHERE category = 23
        [48] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 23
        [49] => SELECT aid FROM cpg135_albums WHERE category = 24
        [50] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 24
        [51] => SELECT aid FROM cpg135_albums WHERE category = 25
        [52] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 25
        [53] => SELECT aid FROM cpg135_albums WHERE category = 26
        [54] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 26
        [55] => SELECT aid FROM cpg135_albums WHERE category = 27
        [56] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 27
        [57] => SELECT aid FROM cpg135_albums WHERE category = 28
        [58] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 28
        [59] => SELECT aid FROM cpg135_albums WHERE category = 29
        [60] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 29
        [61] => SELECT aid FROM cpg135_albums WHERE category = 49
        [62] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 49
        [63] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '49'  ORDER BY pos
        [64] => SELECT aid FROM cpg135_albums WHERE category = 50
        [65] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 50
        [66] => SELECT aid FROM cpg135_albums WHERE category = 51
        [67] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 51
        [68] => SELECT aid FROM cpg135_albums WHERE category = 52
        [69] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 52
        [70] => SELECT aid FROM cpg135_albums WHERE category = 53
        [71] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 53
        [72] => SELECT aid FROM cpg135_albums WHERE category = 54
        [73] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 54
        [74] => SELECT aid FROM cpg135_albums WHERE category = 55
        [75] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 55
        [76] => SELECT aid FROM cpg135_albums WHERE category = 56
        [77] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 56
        [78] => SELECT aid FROM cpg135_albums WHERE category = 10
        [79] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 10
        [80] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '10'  ORDER BY pos
        [81] => SELECT aid FROM cpg135_albums WHERE category = 11
        [82] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 11
        [83] => SELECT aid FROM cpg135_albums WHERE category = 12
        [84] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 12
        [85] => SELECT aid FROM cpg135_albums WHERE category = 13
        [86] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 13
        [87] => SELECT aid FROM cpg135_albums WHERE category = 14
        [88] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 14
        [89] => SELECT aid FROM cpg135_albums WHERE category = 15
        [90] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 15
        [91] => SELECT aid FROM cpg135_albums WHERE category = 16
        [92] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 16
        [93] => SELECT aid FROM cpg135_albums WHERE category = 30
        [94] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 30
        [95] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '30'  ORDER BY pos
        [96] => SELECT aid FROM cpg135_albums WHERE category = 31
        [97] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 31
        [98] => SELECT aid FROM cpg135_albums WHERE category = 32
        [99] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 32
        [100] => SELECT aid FROM cpg135_albums WHERE category = 33
        [101] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 33
        [102] => SELECT aid FROM cpg135_albums WHERE category = 34
        [103] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 34
        [104] => SELECT aid FROM cpg135_albums WHERE category = 35
        [105] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 35
        [106] => SELECT aid FROM cpg135_albums WHERE category = 36
        [107] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 36
        [108] => SELECT aid FROM cpg135_albums WHERE category = 19
        [109] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 19
        [110] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '19'  ORDER BY pos
        [111] => SELECT aid FROM cpg135_albums WHERE category = 20
        [112] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 20
        [113] => SELECT aid FROM cpg135_albums WHERE category = 21
        [114] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 21
        [115] => SELECT aid FROM cpg135_albums WHERE category = 17
        [116] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 17
        [117] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '17'  ORDER BY pos
        [118] => SELECT aid FROM cpg135_albums WHERE category = 18
        [119] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 18
        [120] => SELECT aid FROM cpg135_albums WHERE category = 57
        [121] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 57
        [122] => SELECT aid FROM cpg135_albums WHERE category = 45
        [123] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 45
        [124] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '45'  ORDER BY pos
        [125] => SELECT aid FROM cpg135_albums WHERE category = 46
        [126] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 46
        [127] => SELECT aid FROM cpg135_albums WHERE category = 47
        [128] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 47
        [129] => SELECT aid FROM cpg135_albums WHERE category = 48
        [130] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND category = 48
        [131] => SELECT aid FROM cpg135_albums as a WHERE category = '0'
        [132] => SELECT count(*) FROM cpg135_albums as a WHERE 1
        [133] => SELECT count(*) FROM cpg135_pictures as p LEFT JOIN cpg135_albums as a ON a.aid=p.aid WHERE 1
        [134] => SELECT count(*) FROM cpg135_comments as c LEFT JOIN cpg135_pictures as p ON c.pid=p.pid LEFT JOIN cpg135_albums as a ON a.aid=p.aid WHERE 1
        [135] => SELECT count(*) FROM cpg135_categories WHERE 1
        [136] => SELECT sum(hits) FROM cpg135_pictures as p LEFT JOIN cpg135_albums as a ON p.aid=a.aid WHERE 1
        [137] => SELECT COUNT(*) from cpg135_pictures WHERE approved = 'YES'
        [138] => SELECT *,cpg135_albums.title AS title,cpg135_albums.aid AS aid  FROM cpg135_pictures,cpg135_albums WHERE cpg135_pictures.aid = cpg135_albums.aid AND approved = 'YES'  GROUP  BY cpg135_pictures.aid ORDER BY cpg135_pictures.ctime DESC  LIMIT 0 ,32
        [139] => SELECT count(*) FROM cpg135_albums as a WHERE category = '0'
        [140] => SELECT COUNT(*) from cpg135_pictures WHERE approved = 'YES'
        [141] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, aid FROM cpg135_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 20
        [142] => SELECT COUNT(*) from cpg135_pictures WHERE approved = 'YES'
        [143] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid,title, caption, owner_id, owner_name, aid FROM cpg135_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,12
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.1 - OK
    ------------------
    mySQL version: 4.0.24-standard
    ------------------
    Coppermine version: 1.3.5
    ==========================
    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 3.23.58
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/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 | 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 | .:/php/includes:/usr/share/php | .:/php/includes:/usr/share/php
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    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 | 60 | 60
    max_input_time | 60 | 60
    upload_max_filesize | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.183 seconds - 144 queries in 0.078 seconds - Album set :




    I just wanna to "BACK" to add big size files with 2000 pixels and 2mb...and want it AGAIN!
    I can't,It's the third time that i can't add pics with CPG 1.3.5
    The first time i restore everything and it back
    The second i have to change to GD,and RESTORE and back to IMAGE MAGICK
    AND NOW...No way is running...Using GD,Image Magick or RESTORING Gallery.
    Please some one HELP ME!

Joachim Müller

you posted a similar question on the cpg1.4.x support board as well, so what coppermine version are you aczually using. Don't post debug output unless requested, it just clutters up the thread. Read the sticky threads on the upload boards to understand what you could do to solve this. Basically, it's a server-sided restriction, not a restriction within coppermine (no matter what version you use). If your webhost doesn't change the server-sided settings (in php.ini) for you, then you're stuck: you simply won't be able to upload hires pics, no matter what. If you're not happy with this, change your webhosting plan - if you spend more, you usually get better performance. Again, this is not related to coppermine.
However, I find it silly to upload hires pics to a webserver - what's the use of uploading pics that are larger than the video resolution your site visitors have? Just a waste of resources if you ask me. I recommend resizing on the client before uploading.

Vini

Quote from: GauGau on December 16, 2005, 06:04:25 PM
you posted a similar question on the cpg1.4.x support board as well, so what coppermine version are you aczually using. Don't post debug output unless requested, it just clutters up the thread. Read the sticky threads on the upload boards to understand what you could do to solve this. Basically, it's a server-sided restriction, not a restriction within coppermine (no matter what version you use). If your webhost doesn't change the server-sided settings (in php.ini) for you, then you're stuck: you simply won't be able to upload hires pics, no matter what. If you're not happy with this, change your webhosting plan - if you spend more, you usually get better performance. Again, this is not related to coppermine.
However, I find it silly to upload hires pics to a webserver - what's the use of uploading pics that are larger than the video resolution your site visitors have? Just a waste of resources if you ask me. I recommend resizing on the client before uploading.
I'm using 1.3.5
I can't upload big gile sizes...
I tried use PHP.ini but didn't work!
There's no other way?

Joachim Müller

look, you have been told many times over: only the person who administers the server can change php.ini. If you're webhosted, you probably won't be able to change this. There's no other way. You get what you pay for imo.
Look, why don't you do as suggested and resize the pics on your client before uploading them?
Marking thread as "closed"