ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

File Upload preferences ignored

November 19, 2009 10:34am

Subscribe [6]
  • #16 / Dec 15, 2009 7:44pm

    Adam Dorsey

    1439 posts

    Hi rmedek-
    It sounds like the client may be having some PHP memory limit issues as well.

    Here is a Wiki post about memory limits.

    Does this help?

  • #17 / Dec 15, 2009 7:51pm

    rmedek

    131 posts

    The PHP memory limits were being hit because the file max sizes weren’t being respected. I figured out that the site could resize an image of about 3000px square before it bonked, so I set the max sizes at 3000. So PHP memory is an issue but not the problem—I don’t want to set memory limits higher than they are now (very, very high).

    I just told the client not to upload anything larger than 3000px for now. 😉

  • #18 / Dec 15, 2009 7:56pm

    Adam Dorsey

    1439 posts

    Out of curiosity what is the PHP memory limit set to?

    And the entire image needs to be uploaded to the server, before EE can determine its size (width), so if the server bonks out before the image is uploaded, EE can’t determine its width.

  • #19 / Dec 15, 2009 8:05pm

    rmedek

    131 posts

    Out of curiosity what is the PHP memory limit set to?

    2000MB.

    the entire image needs to be uploaded to the server, before EE can determine its size (width), so if the server bonks out before the image is uploaded, EE can’t determine its width.

    For what it’s worth, I only brought up the PHP issue because that’s how I knew there was a problem. When I tested it later I successfully uploaded a 3500px wide image without crashing the server with max sizes set to 3000.

    But knowing now that the image needs to be uploaded first makes the max sizes a moot point since the only purpose of setting them was to prevent the server from crashing. So for me everything’s solved, in a way. 😉

  • #20 / Dec 15, 2009 8:20pm

    Adam Dorsey

    1439 posts

    Okay, thanks for the explanation!

    You could try setting “Maximum File Size” this should help prevent PHP memory errors.

  • #21 / Jun 15, 2010 11:11pm

    msfarrel

    33 posts

    wrong thread…

  • #22 / Jun 16, 2010 1:56am

    John Henry Donovan

    12339 posts

    msfarrel, k 😊 Gonna close this old thread out.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases