Jump to content
[MUST READ] Forum Rules ×

How can I use flarum in my website.


Mayank657

Recommended Posts

15 hours ago, TinkerMan said:

By installing it. 

Bro I tried installing it with Softaculous it doesn't work and I also try to download it on local machine and then upload it to file manager it shows a error Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".

Link to comment
Share on other sites

1 hour ago, Mayank657 said:

Bro I tried installing it with Softaculous it doesn't work and I also try to download it on local machine and then upload it to file manager it shows a error Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".

That's because Flarum requires PHP 8.1 and higher, and won't work with 7.4; if the server you're on has been upgraded to PHP 8.2, you can use that, otherwise you can try downgrading the dependencies to 7.4:

https://medium.com/@jszoja/downgrade-composer-php-version-c90900a87aab

Link to comment
Share on other sites

For the future, it would be really helpful if you could include that information in your first post so you don’t waste our time. If you show that you put in an effort to fix the problem, we will be more likely to put in effort to help you fix it. Withholding information just makes it harder for us and wastes both of our time. 

Link to comment
Share on other sites

59 minutes ago, TinkerMan said:

For the future, it would be really helpful if you could include that information in your first post so you don’t waste our time. If you show that you put in an effort to fix the problem, we will be more likely to put in effort to help you fix it. Withholding information just makes it harder for us and wastes both of our time. 

Ok sorry for that

Link to comment
Share on other sites

13 hours ago, Anyx said:

That's because Flarum requires PHP 8.1 and higher, and won't work with 7.4; if the server you're on has been upgraded to PHP 8.2, you can use that, otherwise you can try downgrading the dependencies to 7.4:

https://medium.com/@jszoja/downgrade-composer-php-version-c90900a87aab

Bro I can't find downgraded dependencies version 

Color legend:

- patch or minor release available - update recommended

- major release available - update possible

- up to date version

flarum/approval v1.8.0 v1.8.0 Make discussions and posts require modera...

flarum/bbcode v1.8.0 v1.8.0 Allow posts to be formatted with BBCode.

flarum/core v1.8.2 v1.8.2 Delightfully simple forum software.

flarum/emoji v1.8.0 v1.8.0 Convert text and unicode emoji into Twemoji.

flarum/flags v1.8.0 v1.8.0 Allow users to flag posts for moderator r...

flarum/lang-english v1.8.0 v1.8.0 English language pack.

flarum/likes v1.8.0 v1.8.0 Allow users to like posts.

flarum/lock v1.8.0 v1.8.0 End a discussion and don't let anyone add...

flarum/markdown v1.8.0 v1.8.0 Allow posts to be formatted with Markdown.

flarum/mentions v1.8.2 v1.8.2 Mention and reply to specific posts and u...

flarum/nicknames v1.8.0 v1.8.0 Allow users to set nicknames.

flarum/pusher v1.8.0 v1.8.0 See new discussions and posts in real-tim...

flarum/statistics v1.8.0 v1.8.0 Add a basic statistics widget on the Dash...

flarum/sticky v1.8.0 v1.8.0 Pin discussions to the top of the list.

flarum/subscriptions v1.8.0 v1.8.0 Allow users to follow discussions and rec...

flarum/suspend v1.8.1 v1.8.1 Suspend users so they can't post.

flarum/tags v1.8.0 v1.8.0 Organize discussions into a hierarchy of ...

Link to comment
Share on other sites

3 hours ago, Mayank657 said:

Bro I can't find downgraded dependencies version 

Color legend:

- patch or minor release available - update recommended

- major release available - update possible

- up to date version

flarum/approval v1.8.0 v1.8.0 Make discussions and posts require modera...

flarum/bbcode v1.8.0 v1.8.0 Allow posts to be formatted with BBCode.

flarum/core v1.8.2 v1.8.2 Delightfully simple forum software.

flarum/emoji v1.8.0 v1.8.0 Convert text and unicode emoji into Twemoji.

flarum/flags v1.8.0 v1.8.0 Allow users to flag posts for moderator r...

flarum/lang-english v1.8.0 v1.8.0 English language pack.

flarum/likes v1.8.0 v1.8.0 Allow users to like posts.

flarum/lock v1.8.0 v1.8.0 End a discussion and don't let anyone add...

flarum/markdown v1.8.0 v1.8.0 Allow posts to be formatted with Markdown.

flarum/mentions v1.8.2 v1.8.2 Mention and reply to specific posts and u...

flarum/nicknames v1.8.0 v1.8.0 Allow users to set nicknames.

flarum/pusher v1.8.0 v1.8.0 See new discussions and posts in real-tim...

flarum/statistics v1.8.0 v1.8.0 Add a basic statistics widget on the Dash...

flarum/sticky v1.8.0 v1.8.0 Pin discussions to the top of the list.

flarum/subscriptions v1.8.0 v1.8.0 Allow users to follow discussions and rec...

flarum/suspend v1.8.1 v1.8.1 Suspend users so they can't post.

flarum/tags v1.8.0 v1.8.0 Organize discussions into a hierarchy of ...

As long as you have ran the first command (composer config...), if you run ``composer update`` it should downgrade dependencies to PHP 7.4.

If it doesn't, as described in the article, you'll need to find the ones that are supported by PHP 7.4 and downgrade them manually.

 

I'd advise waiting a bit however, as most servers are being upgraded to PHP 8.2, so you might wish to wait for that update first and then install a PHP 8.2 version of Flarum.

Link to comment
Share on other sites

  • 2 weeks later...
7 hours ago, Mayank657 said:

I have recently updated to php 8.2 and when I try to install flarum it gives me 500 error https://forum.lighthosting.eu.org/public

Flarum is known to not work well on free hosting, use something like MyBB is better in this case

(Or BurkeKnight's favorite - ElkArte)

Edited by SpookyKipper
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...