- Edited
thanks about the new version.
I want to know about this: is it possible to install without composer?
thanks about the new version.
I want to know about this: is it possible to install without composer?
Every time there's an upgrade, being in the Asian region, I have to change "e.format("D MMM")" to "e.format("ll")" to make the dates conform to our conventions.
Just curious, is there a way in Flarum to recognize "Do" so that it can display the day format used in non-English countries?
Subarist Just curious, is there a way in Flarum to recognize "Do" so that it can display the day format used in non-English countries?
Dayjs supports Do
format, but it does not seem to be used by Chinese translations. Here is the source of translations used by Chinese (simplified) language pack: https://github.com/iamkun/dayjs/blob/dev/src/locale/zh-tw.js
Away visiting family this week. Can't wait to upgrade when I get home!
Subarist It looks like you need to explicitly enable advanced formatting in dayjs: https://github.com/iamkun/dayjs#plugin, and Flarum doesn't do this (since it never uses such formats). So it doesn't work by default, but you can easily enable this by creating a plugin with content of https://cdn.jsdelivr.net/npm/dayjs@1/plugin/advancedFormat.js and followed by dayjs.extend(window.dayjs_plugin_advancedFormat);
.
️
If my php is 7.4, will I be able to upgrade to v 1.8?
I see that on composer.json, it says:
'''
"require": {
"php": ">=7.3",
'''
However, when I upgrade to v 1.8, it says,
'''
Problem 2
- symfony/css-selector[v6.0.0, ..., v6.0.19] require php >=8.0.2 -> your php version (7.4.33) does not satisfy that requirement.
- symfony/css-selector[v6.1.0, ..., v6.2.7] require php >=8.1 -> your php version (7.4.33) does not satisfy that requirement.
'''
I don't know if symfony/css-selector is a must, or I need to disable some extension(s) to avoid this warning.
I have installed a lot of extensions on my site. Just wondering if anyone know this, then I won't need to turn off each extension to test it out.
Here are the extensions I installed on my site:
"acpl/my-tags": "*",
"afrux/forum-stats-widget": "^0.1.0",
"afrux/forum-widgets-core": "^0.1.5",
"afrux/news-widget": "*",
"afrux/online-users-widget": "^0.1.5",
"afrux/top-posters-widget": "*",
"antoinefr/flarum-ext-bbcode-fa": "^1.0",
"askvortsov/flarum-discussion-templates": "^0.8.1",
"askvortsov/flarum-help-tags": "^1.1",
"askvortsov/flarum-markdown-tables": "*",
"askvortsov/flarum-moderator-warnings": "^0.6.1",
"askvortsov/flarum-pwa": "^3.0",
"aurorum/flarum-better-iframe": "^2.0",
"blomstra/flag-duplicates": "*",
"blomstra/spam-prevention": "^1.3",
"blomstra/turnstile": "*",
"clarkwinkelmann/flarum-ext-author-change": "^1.0",
"clarkwinkelmann/flarum-ext-discussion-lists": "^1.0",
"clarkwinkelmann/flarum-ext-formatted-banner": "^1.0",
"clarkwinkelmann/flarum-ext-group-invitation": "^1.0",
"clarkwinkelmann/flarum-ext-likes-received": "^1.0",
"clarkwinkelmann/flarum-ext-mailing": "^1.0",
"clarkwinkelmann/flarum-ext-post-bookmarks": "^1.0",
"clarkwinkelmann/flarum-ext-status": "^1.0",
"darkle/fancybox": "^0.2.0",
"datitisev/flarum-post-galleries": "*",
"datlechin/flarum-add-like-controls": "*",
"datlechin/flarum-more-discussions": "*",
"datlechin/flarum-scroll-buttons": "*",
"davwheat/flarum-ext-ads": "*",
"davwheat/flarum-ext-share": "*",
"davwheat/hide-empty-welcomehero": "*",
"davwheat/session-keepalive": "*",
"ecnu-im/sticky-sidenav": "^1.1",
"extiverse/mercury": "*",
"flarum-lang/chinese-simplified": "^1.0",
"flarum/approval": "*",
"flarum/bbcode": "*",
"flarum/core": "1.7",
"flarum/emoji": "*",
"flarum/flags": "*",
"flarum/lang-english": "*",
"flarum/likes": "*",
"flarum/lock": "*",
"flarum/markdown": "*",
"flarum/mentions": "*",
"flarum/nicknames": "*",
"flarum/pusher": "*",
"flarum/statistics": "*",
"flarum/sticky": "*",
"flarum/subscriptions": "*",
"flarum/suspend": "*",
"flarum/tags": "*",
"flarumite/simple-discussion-views": "*",
"flarumite/simple-spoilers": "*",
"flarumtr/flarum-ext-mobile-search": "^1.2",
"fof/analytics": "*",
"fof/ban-ips": "*",
"fof/bbcode-details": "*",
"fof/bbcode-tabs": "*",
"fof/best-answer": "*",
"fof/byobu": "*@beta",
"fof/cookie-consent": "^1.0",
"fof/discussion-thumbnail": "*",
"fof/disposable-emails": "*",
"fof/doorman": "*",
"fof/drafts": "*",
"fof/filter": "*",
"fof/follow-tags": "*",
"fof/formatting": "^1.0",
"fof/geoip": "*",
"fof/html-errors": "^1.0",
"fof/ignore-users": "^1.0",
"fof/impersonate": "^1.0",
"fof/linguist": "^1.0",
"fof/links": "*",
"fof/masquerade": "^1.0",
"fof/merge-discussions": "*",
"fof/moderator-notes": "^1.0",
"fof/oauth": "*",
"fof/pages": "^1.0",
"fof/polls": "*",
"fof/pretty-mail": "*",
"fof/prevent-necrobumping": "^1.0",
"fof/profile-image-crop": "*",
"fof/share-social": "*",
"fof/sitemap": "^1.0",
"fof/socialprofile": "^1.1",
"fof/spamblock": "*",
"fof/split": "*",
"fof/stopforumspam": "*",
"fof/terms": "^1.0",
"fof/upload": "^1.0",
"hamzone/flarum-ext-auth-wechat": "^1.0",
"ianm/follow-users": "*",
"ianm/no-meta-title": "*",
"ianm/synopsis": "^1.0",
"imshuzai/flarum-right-and-center-bbcode": "^1.0",
"imshuzai/phonetic-bbcode": "^1.0",
"itnt/flarum-uitab": "^0.4.0",
"justoverclock/auto-post-count-badge": "*",
"justoverclock/flarum-ext-guestengagement": "^1.0",
"justoverclock/flarum-ext-hashtag": "^1.0",
"justoverclock/flarum-ext-keywords": "^1.9",
"justoverclock/flarum-ext-purify": "*",
"justoverclock/flarum-ext-welcomebox": "^1.3",
"justoverclock/header-slideshow": "*",
"katosdev/signature": "^1.2",
"nearata/flarum-ext-copy-code-to-clipboard": "^2.0",
"nearata/flarum-ext-embed-video": "^3.0",
"nearata/flarum-ext-internal-links-noreload": "*",
"nearata/flarum-ext-related-discussions": "*",
"noriods/auto-more": "^1.0",
"ralkage/flarum-hcaptcha": "*",
"ramesh-dada/bbcode-alerts": "^6.21",
"sycho/discussion-canonical-url": "*",
"sycho/flarum-lite-youtube": "*",
"the-turk/flarum-flamoji": "^1.0",
"the-turk/flarum-nodp": "^1.0",
"the-turk/flarum-quiet-edits": "^0.1.3",
"the-turk/flarum-stickiest": "^2.0.1",
"v17development/flarum-seo": "^1.8",
"v17development/flarum-user-badges": "^1.0",
"zequeen/acgembed-remastered": "^1.1",
"zerosonesfun/collection": "*",
"zerosonesfun/flarum-bbcode-advanced-image": "*",
"zerosonesfun/flarum-bbcode-audio": "*",
"zerosonesfun/flarum-bbcode-button": "*",
"zerosonesfun/flarum-bbcode-iframe": "^1.0",
"zerosonesfun/flarum-bbcode-space": "*",
"zerosonesfun/flarum-featured-card": "^1.0",
"zerosonesfun/flarum-google-fonts": "^1.3",
"zerosonesfun/flarum-member": "^1.2"
ash3T PHP 7.4 is no more supported and can have security issue.
https://www.php.net/supported-versions.php
rob006 Yes.
katosdev/signature 1.2 requires symfony/css-selector (^6.0.2)
tijsverkoyen/css-to-inline-styles 2.2.6 requires symfony/css-selector (^2.7 || ^ 3.0 || ^ 4.0 || ^ 5.0 || ^ 6.0 )
I guess this means katosdev/signature used symfony/css-selector then.
By the way, I also encounter these two error:
firstly, in the log
[2023-05-24 07:24:10] flarum.ERROR: TypeError: Nearata\EmbedVideo\Formatter\Render::__invoke(): Argument #4 ($request) must be of type Psr\Http\Message\ServerRequestInterface, null given, called in /mnt/BLOCKSTORAGE/home/899574.cloudwaysapps.com/qvgqduqjst/public_html/flarum/vendor/flarum/core/src/Foundation/ContainerUtil.php on line 30 and defined in /mnt/BLOCKSTORAGE/home/899574.cloudwaysapps.com/qvgqduqjst/public_html/flarum/vendor/nearata/flarum-ext-embed-video/src/Formatter/Render.php:13
secondly, also in the logs
flarum.WARNING: Cannot use file cache because storage/cache is not writable, this will affect the software.
I tried to change the file permission through FTP
public_html/flarum/storage/cache/92/89 /applications/qvgqduqjst/public_html/flarum/storage/cache/92/891: permission denied
Then I resolve this by deleting the folder and files in the cache folder.
thirdly, I cannot log in with the admin account when I installed flarum but can only use another account to log into the system before cleaning the cache.
fourthly, when I tried to removed Nearata\EmbedVideo
Problem 1
- blomstra/spam-prevention is locked to version 1.3.1 and an update of this package was not requested.
- blomstra/spam-prevention 1.3.1 requires php >= 8.0 -> your php version (7.4.33) does not satisfy that requirement.
Problem 2
- clarkwinkelmann/flarum-ext-mailing is locked to version 1.1.0 and an update of this package was not requested.
- clarkwinkelmann/flarum-ext-mailing 1.1.0 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
Problem 3
- fof/geoip is locked to version 1.1.0 and an update of this package was not requested.
- fof/geoip 1.1.0 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
Problem 4
- nearata/flarum-ext-related-discussions is locked to version 1.4.0 and an update of this package was not requested.
- nearata/flarum-ext-related-discussions 1.4.0 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
Problem 5
- laminas/laminas-diactoros 2.25.2 requires php ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (7.4.33) does not satisfy that requirement.
- flarum/core v1.7.0 requires laminas/laminas-diactoros ^2.4.1 -> satisfiable by laminas/laminas-diactoros[2.25.2].
- flarum/core is locked to version v1.7.0 and an update of this package was not requested.
peopleinside Yes. But my host provider won't be able to upgrade PHP for me.
I am using freeflarum I don't have a custom vps how can I upgrade ?
ash3T I don't wanna know with provider you are with in but:
if you have a normal hosting plan and not and unaanaged VPS or server that you should know how to manage (including upgrade PHP), your hosting must provide a supported PHP version.
PHP 7.4 has been deprecated as in the official PHP website you can see no more security update are anymore released.
I suggest to ask to your provider what you have to do to have PHP 8.1
itztxs on freeflarum you don't need to do anything for upgrade, It will be done automatically from the team.
peopleinside but I can't get upgraded version
itztxs you cannot upgrade.
Please read the FAQ https://docs.freeflarum.com/en/faq/
FreeFlarum will do a manual update for all FreeFlarum Flarum forums as soon as majority of the extensions installed at FreeFlarum are compatible with the latest Flarum version.
You cannot upgrade, you have no action to do. You need stay with current Flarum version and wait for when the team of FreeFlarum will upgrade Flarum.
If you have questions regarding Freeflarum you can try to contact support: https://freeflarum.com/support
Just updated my forum to 1.8.1, went nice and smoothly and hasnt broke anything, so i'm very pleased. Great job to all involved!
Thank you for flarum team.
I upgrade my flarum and when I click Like Button, I receive a error
/blog/237-r-34-hou-p…-yin-opjian-fa-bu:1
Uncaught (in promise)
vi {status: 500, options: {…}, xhr: XMLHttpRequest, responseText: '{"errors":[{"status":"500","code":"unknown"}]}', response: {…}, …}
alert:
content: ['糟糕,出错啦!请刷新页面重试。']
controls: false
type: "error"
[[Prototype]]: Object
options: {background: true, method: 'POST', url: 'https://capomod.com/api/posts/1540', body: {…}, deserialize: ƒ, …}
response: {errors: Array(1)}
responseText: "{\"errors\":[{\"status\":\"500\",\"code\":\"unknown\"}]}"
status: 500
xhr: XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, abort: ƒ, onreadystatechange: ƒ, …}
[[Prototype]]: Object
Promise.then(异步)
e.save @ Model.ts:235
onclick @ addLikeAction.js:23
O.handleEvent @ render.js:888