coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: bakerness on April 22, 2007, 10:51:24 PM

Title: Exceeded filesize permitted by CPG.
Post by: bakerness on April 22, 2007, 10:51:24 PM
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.
Title: Re: Exceeded filesize permitted by CPG.
Post by: Nibbler on April 22, 2007, 10:57:40 PM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Title: Re: Exceeded filesize permitted by CPG.
Post by: bakerness on April 22, 2007, 11:05:43 PM
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?
Title: Re: Exceeded filesize permitted by CPG.
Post by: bakerness on April 22, 2007, 11:08:35 PM
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
        (
           
Title: Re: Exceeded filesize permitted by CPG.
Post by: bakerness on April 22, 2007, 11:15:20 PM
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?
Title: Re: Exceeded filesize permitted by CPG.
Post by: Joachim Müller on April 23, 2007, 07:07:21 AM
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!
Title: Re: Exceeded filesize permitted by CPG.
Post by: bakerness on May 01, 2007, 04:05:51 PM
ok so now the above solution is working for me, but not my users....
Title: Re: Exceeded filesize permitted by CPG.
Post by: bakerness on May 01, 2007, 05:28:21 PM
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.
Title: Re: Exceeded filesize permitted by CPG.
Post by: Nibbler on May 01, 2007, 05:48:10 PM
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.