We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1326
    • 40 Posts
    Hi there,

    I’m using the FileUpload snippet and I set the maximum size of the file to 100MB (104857600 Bytes). However it seems that I can’t upload files that are bigger than 10MB or so.
    Does anyone know, what the problem could be? (Perhaps some timeout issue?)
    Please help. embarrassed
      • 7923
      • 4,213 Posts
      php has settings for max upload and max post data, you can see your current environment settings from phpinfo.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        There is also an Apache configuration that limits the size.
        http://www.webmasterworld.com/forum88/5857.htm
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 1326
          • 40 Posts
          Thank you for the tips.
          I found the folowing lines in my phpinfo:

          post_max_size =16M
          upload_max_filesize = 16M
          memory_limit = 32M

          So if I want a 100MB File-Upload, do I also have to raise the memory_limit?
            • 1326
            • 40 Posts
            The hosting company doesn’t raise the values for post_max_size and upload_max_filesize. Does that finally mean that I can’t use the FileUpload-Snippet?
              • 25663 MODX Staff
              • 12,272 Posts
              I think so.
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me