Exceeded filesize permitted by CPG. Exceeded filesize permitted by CPG.
 

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

Exceeded filesize permitted by CPG.

Started by bakerness, April 22, 2007, 10:51:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bakerness

I have searched all over this board and found nothing that helps me solve the issue.

Anytime we upload pics I get that error. I have tried setting the limit to several different sizes.  3,000  10,000   30,000 I get that error with all of them, even though the files are no where near that big.  I went into Config and went to "Method for resizing images" and tried both imagemagik AND GD 2. I dont understand what the problem is.


bakerness

That doesnt work for me, because it would already download 1 file at a time. Just not more than 1.   So can I set it to two and get the same effect?

bakerness

ok well i went ahead and increased it to 2 and here is what the debug info says


USER:
------------------
Array
(
    [ID] => 2368f376b9a69a4480092f2224e0035b
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => tessa
    [groups] => Array
        (
           
  • => 102
            )

        [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] => 2
        [num_URI_upload] => 1
        [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] => 102
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
        [1] => select * from cpg_plugins order by priority asc; (0s)
        [2] => SELECT * FROM cpg_bridge (0s)
        [3] => SELECT u.user_id, u.user_password, u.user_level FROM `tessa_phpb1`.phpbb_sessions_keys AS s
                         INNER JOIN `tessa_phpb1`.phpbb_users AS u ON s.user_id = u.user_id WHERE u.user_id = '2' AND u.user_active = 1 AND s.key_id = MD5('aa6ba9f9ff1029ca45a097334f9c0373') (0s)
        [4] => SELECT u.user_id AS id, u.username AS username, u.user_password AS password, ug.group_id AS group_id FROM `tessa_phpb1`.phpbb_users AS u, `tessa_phpb1`.phpbb_user_group AS ug WHERE u.user_id=ug.user_id AND u.user_id='2' (0s)
        [5] => SELECT ug.group_id+100 AS group_id FROM `tessa_phpb1`.phpbb_users AS u, `tessa_phpb1`.phpbb_user_group AS ug, `tessa_phpb1`.phpbb_groups as g WHERE u.user_id=ug.user_id AND u.user_id='2' AND g.group_id = ug.group_id AND  group_single_user = 0 (0s)
        [6] => 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 cpg_usergroups WHERE group_id in (102) (0s)
        [7] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 102 (0s)
        [8] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 2 (0s)
        [9] => DELETE FROM cpg_banned WHERE expiry < '2007-04-22 21:06:53' (0s)
        [10] => SELECT * FROM cpg_banned WHERE (ip_addr='68.60.236.191' OR ip_addr='68.60.236.191' OR user_id=2) AND brute_force=0 (0s)
        [11] => SELECT aid, title FROM cpg_albums WHERE category < 10000 ORDER BY title (0s)
        [12] => SELECT aid, title FROM cpg_albums WHERE category='10002' ORDER BY title (0s)
        [13] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
        [14] => SELECT unique_ID FROM cpg_temp_data (0s)
        [15] => INSERT INTO cpg_temp_data VALUES ('af8354a2', 'YToyOntpOjA7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czoxMjoiSU1HUDA0NjUuSlBHIjtzOjE0OiJ0ZW1wb3JhcnlfbmFtZSI7czoyMzoibUhUVFBfdGVtcF9kYTUwN2MwYS5KUEciO31pOjE7YToyOntzOjExOiJhY3R1YWxfbmFtZSI7czoxMjoiSU1HUDA0ODAuSlBHIjtzOjE0OiJ0ZW1wb3JhcnlfbmFtZSI7czoyMzoibUhUVFBfdGVtcF8wYjA2ODIxMC5KUEciO319', '1177276013') (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [URI_array] => Array
            (
               
  • =>
            )

        [control] => phase_1
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.2.1 - OK
    ------------------
    mySQL version: 4.1.21-standard
    ------------------
    Coppermine version: 1.4.10(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: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 2
    Client API version 4.1.21
    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.1.2
    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 | dl | dl
    file_uploads | On | On
    include_path | .:/usr/local/php5/lib/php | .:/usr/local/php5/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 | 10M | 10M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.235 seconds - 16 queries in 0 seconds - Album set : ; Meta set: ;

bakerness

oops, i had forgotten to set the URI upload boxes to "0" but now that i have done that the problem is fixed.

Why would that cause me to have that error message?

Joachim Müller

Quote4.11.4 Upload troubleshooting

If you are experiencing issues with coppermine's upload process, temporarily change your coppermine settings as suggested below to get more detailed error messages:

    * Go to your coppermine page and log in as admin
    * Go to the config screen
    * Scroll to the bottom of the page
    * Expand the "Maintenance settings" section by clicking on it
    * Enable debug mode for everyone
    * Leave display of notices switched off
    * Save the new settings by clicking on "Save new configuration"
    * Go to the "groups" panel
    * Set the upload form configuration for all groups to "Single file uploads only" (set File upload boxes to "1", URI upload boxes to "0" and No. of boxes to "fixed")
    * Save your new settings

Then try to upload (using http uploads, even if you experienced troubles using another upload method) - you should get a more detailed error message that tells you what exactly goes wrong with your uploads. If the error message doesn't mean anything to you, search the support board for the error message you get.
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.

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!

bakerness

ok so now the above solution is working for me, but not my users....

bakerness

They are getting this message

Disk quota exceeded

You have a space quota of 1024K, your files currently use 0K, adding this file would make you exceed your quota.

Nibbler

Increase the quota on the groups page then.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#group_cp

This is not related to your original issue.