• Extensions
  • FriendsOfFlarum upload, the intelligent file attachment extension

whisperwow I don’t want to upload files and other content to the website server. I want to upload it to a server dedicated to downloading. This will not only save space on the website server, but also increase the download speed.

    ValiantShishu there is currently no FTP driver, but you can use AWS s3 or s3-compatible storage providers instead. It would be possible to add an FTP driver, but that needs a developer to implement it.

    andrewua PHP Fileinfo extension must be installed/enabled to use Intervention Image

    Your php installation is missing the fileinfo extension: apt get install php-fileinfo or similar depending on your OS and php version. Do not run this command blindly, check your php version and OS for the exact command.

      getting this error.

      ./composer.json has been updated
      Running composer update league/flysystem-aws-s3-v3
      Loading composer repositories with package information
      Updating dependencies
      Your requirements could not be resolved to an installable set of packages.
      
        Problem 1
          - league/flysystem-aws-s3-v3[1.0.26, ..., 1.0.29] require aws/aws-sdk-php ^3.20.0 -> satisfiable by aws/aws-sdk-php[3.20.0, ..., 3.194.3].
          - league/flysystem-aws-s3-v3[1.0.1, ..., 1.0.25] require aws/aws-sdk-php ^3.0.0 -> satisfiable by aws/aws-sdk-php[3.0.0, ..., 3.194.3].
          - league/flysystem-aws-s3-v3 1.0.0 requires aws/aws-sdk-php 3.*@"dev"#10443 -> satisfiable by aws/aws-sdk-php[3.0.0, ..., 3.194.3].
          - aws/aws-sdk-php 3.0.0 requires guzzlehttp/guzzle ^5.3 || ^6.0.1 -> found guzzlehttp/guzzle[5.3.0, ..., 5.3.4, 6.0.1, ..., 6.5.5] but the package is fixed to 7.3.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
          - aws/aws-sdk-php[3.0.1, ..., 3.3.4] require guzzlehttp/psr7 ~1.0 -> found guzzlehttp/psr7[1.0.0, ..., 1.8.2] but the package is fixed to 2.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
          - aws/aws-sdk-php[3.3.5, ..., 3.18.28] require guzzlehttp/guzzle ~5.3|~6.0.1|~6.1 -> found guzzlehttp/guzzle[5.3.0, ..., 5.3.4, 6.0.1, ..., 6.5.5] but the package is fixed to 7.3.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
          - aws/aws-sdk-php 3.18.29 requires guzzlehttp/guzzle ~5.3.1|~6.2.1 -> found guzzlehttp/guzzle[5.3.1, 5.3.2, 5.3.3, 5.3.4, 6.2.1, 6.2.2, 6.2.3] but the package is fixed to 7.3.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
          - aws/aws-sdk-php[3.18.30, ..., 3.69.10] require guzzlehttp/guzzle ^5.3.1|^6.2.1 -> found guzzlehttp/guzzle[5.3.1, 5.3.2, 5.3.3, 5.3.4, 6.2.1, ..., 6.5.5] but the package is fixed to 7.3.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
          - aws/aws-sdk-php[3.69.11, ..., 3.130.3] require guzzlehttp/guzzle ^5.3.3|^6.2.1 -> found guzzlehttp/guzzle[5.3.3, 5.3.4, 6.2.1, ..., 6.5.5] but the package is fixed to 7.3.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
          - aws/aws-sdk-php[3.131.0, ..., 3.173.19] require guzzlehttp/psr7 ^1.4.1 -> found guzzlehttp/psr7[1.4.1, ..., 1.8.2] but the package is fixed to 2.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
          - aws/aws-sdk-php[3.173.20, ..., 3.194.3] require guzzlehttp/psr7 ^1.7.0 -> found guzzlehttp/psr7[1.7.0, 1.8.0, 1.8.1, 1.8.2] but the package is fixed to 2.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
          - Root composer.json requires league/flysystem-aws-s3-v3 1.* -> satisfiable by league/flysystem-aws-s3-v3[1.0.0, ..., 1.0.29].
      
      Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
      
      Installation failed, reverting ./composer.json and ./composer.lock to their original content.
      askya3540@alif:~/public_html$ ```

        IanM

        I actually think it still does. Just updated and tried.

        Edit: works now. Had to clear browser cache. Sry.

        • IanM replied to this.

          Hey all. JPG and PNG images upload is not working for me. But if I export JPG file into GIF - voila, upload comes with no problem. Any ideas about those file types? Thanks.

            Vadim_RUNN do you see any errors when you try uploading? I assume this relates to your configured mime types can you post that?

              luceos Awesome! Now it's working! Exif module for PHP was not enabled. Mbstring module is not allowed by hoster.