Ninja please try the standard administrator URL again. (I have now disabled the security URL...sorry about that). Thank you. Yes, I refer to uploading a local video. Screenshot attached...

    Thank you. Unfortunately the behavior seems to be the same after updating to the supplied version. The video upload fails, and in the debugger I still do not see the expected chunk-related URL parameters that should be supplied by vendors-postbox.app.js when it calls the chunk handler.

    To be clear, in components/com_community/controllers/videos.php at line 521, the $_REQUEST variable does not contain the expected keys, such as "chunk" etc. (because they are missing from the URL).

      radiosteve
      Hi,
      I used your backup at my end, and no issue with large file upload ( tested with 1G file).

      Also, on your server, there are some php configs need increase if you want to upload files larger than 200MB

      upload_max_filesize = 200M
      post_max_size = 200M

      Kindly check.

      16 days later

      Hello, the above fix worked on our test site, thank you for that. However, uploading of larger files is still broken when running this fix on our production site, which is behind CloudFlare. It seems to have an entirely different cause now:

      When uploading a large file via the postbox in the activity stream, no indication of progress is ever shown, no data is transmitted, and the page hangs indefinitely. On Firefox, the upload fails immediately with "Server responded with 0 code."

      This problem occurs when uploading large files via the activity stream postbox. Uploading small files, or any-size files via the upload window on the "My Videos" page, is working.

        radiosteve
        Hi
        In this case as the issue only live, can you disable the cloudflare cache and check the uploads.
        It might be the cache the server the older page.

        radiosteve

        Hi,
        You can check upload limit of cloudflare at Network > Maximum Upload Size

        @Ninja I tried flushing the cache and disabling and re-enabling CloudFlare, with the same results.

        @manhta I verified that this problem exists when the CloudFlare maximum is set to 200 MB as seen in the following image:
        (Tested with chunk size of 150 MB.)

        Since it works with the other upload form via the profile "My Videos" page but not via the activity stream postbox, doesn't this already exclude CloudFlare as the problem?

          radiosteve
          Kindly check your server config. Make sure these larger than 200M

          upload_max_filesize = 200M
          post_max_size = 200M

            radiosteve
            Hmm,
            I think you should clone a version to dev site to test again.
            Btw, could you share live site info?

            1. I re-cloned to the test site and the problem still did not appear there without CloudFlare.
            2. I set up CloudFlare on the test site, and subsequently the problem appeared. CloudFlare is configured as follows:

            I have updated the access fields and would appreciate further assistance.

              radiosteve verified that this problem exists when the CloudFlare maxi

              You have to increase the max upload size in your Cloudlflare setting as it restricted with 200MB max.
              Also increase max execution time value to 300.

              If the issue remain same can you disable cloudlfare cache and check as this limit of 200MB could not be override via Jomsocial for cloudflare cache.

              manhta You tested a 188MB file (which is bigger than the chunk size of 150MB, but smaller than the CloudFlare limit of 200MB ), but the problem is that files larger than the CloudFlare limit fail. And @Ninja said I have to increase the CloudFlare limit. But what would be the purpose of splitting the upload into smaller pieces if the CloudFlare limit must be increased to cover the total combined size anyway? I believe large files (>200MB in this case) uploaded through the activity stream postbox should be split into chunks and should succeed, even with the CloudFlare limit at 200MB, as it works from the profile/My Videos upload window! Please clarify.

                radiosteve
                Hi,
                Now i got your point. We'll try to bring chunking upload to postbox again. Kindly wait.

                Write a Reply...
                You need to Login to view replies.