FriendsOfFlarum upload, the intelligent file attachment extension
- Edited
GreXXL
I ran the installation command in the same directory where my composer.json and composer.lock file are located.
UPDATE:
They seem to appear in my composer.json
file though:
UPDATE #2:
I fixed the above issue with assistance from @luceos
But now it appears that I can't seem to upload anything.
I keep getting Oops! Something went wrong. Please reload the page and try again.
I feel like I might be getting these settings wrong:
- Edited
So The above problem isn't something I've been able to fix. I'm worried it might be me trying to have the content URL in the wrong place. Should it be within the flarum/vendor/fof/upload/
directory?
UPDATE:
Is the content delivery URL a location in the server hosting flarum or for when users download files to their machine?
how to increase file upload up to 50 mb?
Pirat this depends on the server I think. it should be in PHP config
https://www.codexworld.com/how-to/increase-file-upload-size-php/
Hi,I want to know how can i set qiniu to upload?i only find imgur and local.
Hi,When I upload a picture, an error will be prompted. then i checked log.
{"errors":[{"status":"405","code":"method_not_allowed"}]}
url showed http://xxxx.xx/api/fof/upload
flarum version 1.0.3
clarkwinkelmann i found problem,php dos not support exit ,thanks
huuduy216 right now Imgur upload preview come with a link like this
[upl-image-preview url=/i.imgur.com/95CvELJ.jpeg]
I remember seeing a tutorial (and actually managed to do it) a while ago to add anothe template to upload so that it display the link differently, in my case I want to add https: prefix to the url. Anyone can point me to the right direction?
Anyone?
I am trying to enable the upload of xml files, but this does not want to work. Anyone know what is wrong here?
(application\/(x-(7z|rar|zip)-compressed|zip|x-(bzip2|gzip|tar)|pdf|xml))|(text\/xml)
Can you upload all types of files?
Justman10000 Yes, but all you need to do is configure in admin panel that which file is allowed to be uploaded with mime equation
- Edited
I mean, really every file extension, so that I can also upload HTML files, for example...
Justman10000 you can even configure fof/upload to allow php file uploads; whether that is wise is another question entirely
[deleted]
luceos you can even configure fof/upload to allow php file uploads; whether that is wise is another question entire
Nope
Update failed
# composer require overtrue/flysystem-qiniu
Using version ^2.0 for overtrue/flysystem-qiniu
./composer.json has been updated
Running composer update overtrue/flysystem-qiniu
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires overtrue/flysystem-qiniu ^2.0 -> satisfiable by overtrue/flysystem-qiniu[2.0.0].
- overtrue/flysystem-qiniu 2.0.0 requires league/flysystem ^2.0 -> found league/flysystem[2.0.0, ..., 2.1.1] but the package is fixed to 1.1.4 (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.
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.