Can I connect him to FTP?
FriendsOfFlarum upload, the intelligent file attachment extension
ValiantShishu Not sure I understand your question. The FOF Upload extension doesn’t need FTP credentials.
- Edited
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.
- Edited
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.
luceos My php version 7.4
https://prnt.sc/1t2nag1
what I should do what would there was no mistake?
luceos thanks! I turned on it
https://prnt.sc/1t2oilm
The error disappeared!
- Edited
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$ ```
MohdKhan if you are using Composer v2, you can add the --with-all-dependencies
flag as suggested in the error message and it should solve the issue.
If you are still on Composer v1 or if it doesn't work, you can try the solution described here https://discuss.flarum.org/d/24684-can-only-install-one-of-guzzlehttpguzzle
clarkwinkelmann Thanks, it worked with your suggestion.
biukang the file labels are limited by a regex due to a technical limitation. There is no solution at this time. The issue is tracked here FriendsOfFlarum/upload174
1.0.3
- Fix oversizing of the upload button during upload FriendsOfFlarum/upload296
This was a commisioned patch, the sponsor wishes to remain anonymous.
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?
Vadim_RUNN make sure the mbstring extension for php is installed and enabled. If it isn't helping make sure exif is installed too: https://www.php.net/manual/en/exif.installation.php
luceos Awesome! Now it's working! Exif module for PHP was not enabled. Mbstring module is not allowed by hoster.