1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 File upload limits

Discussion in 'Troubleshooting and Problems' started by Neil E., Sep 28, 2015.

  1. Neil E.

    Neil E. Active Member

    A user needs to upload some video files, but runs into a size limit that seems to be around 10Mb.
    The XF attachment file size is currently set to 25600 Kb.
    PHP configuration shows the maximum_allowed_size for uploaded files is 200Mb.

    .htacess contains:
    # Use PHP5 as default
    AddHandler application/x-httpd-php5 .php

    Is there something else required in .htaccess? Anything else I should check?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You may need to increase several PHP settings, such as php_value upload_max_filesize and php_value post_max_size.
     
  3. Neil E.

    Neil E. Active Member

    I changed the PHP settings.
    upload_max_filesize is now 32M
    post_max_size is now 64M
    memory_limit is set to 256M

    A 15Mb file (XF attachment size at 25Mb) uploads, but the progress indication is messed up. The Ajax indicator shows repeating bars to indicate the upload, but never turns off. If I wait for several minutes, then post the topic (Ajax still running), the file is shown as an attachment. So the upload takes place, but the user does not know it has occurred. Any ideas?
     
  4. Mike

    Mike XenForo Developer Staff Member

    For debugging, can you try turning the Flash uploader off? If that doesn't give any more information, ideally turn off JS temporarily as that should expose as much as possible directly to the browser. I'm really just trying to figure out what sort of response we get from the server.
     

Share This Page