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 issue (timing out despite server settings)

April 28, 2011 3:25pm

Subscribe [3]
  • #1 / Apr 28, 2011 3:25pm

    Angie Herrera

    365 posts

    I’m running 1.7.1 on a site and uploading files over 1MB cause this in Firefox: http://d.pr/w6Iq (in Safari, it just sits there).

    On the server, upload_max_filesize is at 4MB and post_max_size is at 8MB.

    I’ve tried files that are approximately 46KB and 566KB, and both of those uploaded successfully.

    I also tried files that are approximately 1.1MB and 2.8MB and those both cause the timeout.

    Finally, I’m using nGen File Field for file uploads. However, I also tried using EE1’s native file upload and got the same thing.

    Interestingly enough, I have another client - on the same server - who recently ran into this problem with an older version of EE1. So I’m not sure if it’s a server issue or an EE issue.

    Any suggestions?

  • #2 / Apr 29, 2011 5:16am

    John Henry Donovan

    12339 posts

    Hi Angie,

    It could be a couple of things. It may be your PHP Memory and also the value for max_execution_time.
    Have you got a htaccess file?

    Could you try the following

    php_value upload_max_filesize 20M
    php_value post_max_size 20M
    php_value max_execution_time 200
    php_value max_input_time 200
    php_value memory_limit 128M
  • #3 / Apr 29, 2011 8:50am

    Angie Herrera

    365 posts

    Added that in the .htaccess file and still encountered the same issue. :/

  • #4 / Apr 29, 2011 8:11pm

    Angie Herrera

    365 posts

    I’ve been working with my host/server admins on this as well in case it’s a server issue. So far, everything we’ve tried hasn’t changed the issue.

    Global PHP settings are as follows:
    max_file_uploads 20
    upload_max_filesize 16M
    file_uploads On
    upload_max_filesize 16M
    max_execution_time 5 minutes
    post_max_size 16M

    Is there something else we can check in EE? This site needs to launch soon and this is the last bit holding us up. :/

  • #5 / Apr 30, 2011 6:24pm

    Angie Herrera

    365 posts

    Update: We got it resolved.

  • #6 / May 02, 2011 9:36am

    Sue Crocker

    26054 posts

    Hi, Angie. What did you do to resolve the problem?

  • #7 / May 02, 2011 3:00pm

    Angie Herrera

    365 posts

    Our server was running Litespeed rather than Apache, which to be fair, has never caused issues before (Litespeed is nice). So we switched back to Apache and that seemed to do the trick. What exactly the underlying issue was, not sure.

  • #8 / May 03, 2011 12:31am

    John Henry Donovan

    12339 posts

    Angie,

    Glad you got this one resolved. If you have any more issues feel free to start a new thread.

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

ExpressionEngine News!

#eecms, #events, #releases