Dependency on installation issue
- Edited
Those missing keys can be fixed by flushing the cache, either from the admin area or by running php flarum cache:clear
. I bet that also solves your admin area issue.
OlafHimmelberg please continue here.
OlafHimmelberg Flarum core 0.1.0-beta.14.1
PHP version: 7.2.33-nmm1
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, bcmath, bz2, calendar, ctype, dom, hash, filter, ftp, gettext,
SPL, iconv, json, mbstring, posix, Reflection, session, standard, shmop, SimpleXML, soap, exif, sysvsem, sysvshm, tok enizer, wddx, xml, xmlreader, xmlwriter, zip, propro, raphf, http, mysqlnd, PDO, curl, fileinfo, gd, gender, gmp, imagick, imap, interbase, intl, ldap, mailpars e, mongodb, mysqli, OAuth, odbc, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_ sqlite, pgsql, Phar, pspell, recode, sodium, sqlite3, tidy, xsl, ionCube Loader
+------------------------------------------+----------------+--------+
| Flarum Extensions | | |
+------------------------------------------+----------------+--------+
| ID | Version | Commit |
+------------------------------------------+----------------+--------+
| flarum-bbcode | v0.1.0-beta.12 | |
| flarum-markdown | v0.1.0-beta.14 | |
| flarum-mentions | v0.1.0-beta.14 | |
| clarkwinkelmann-bookmarks | 0.1.1 | |
| michaelbelgium-discussion-views | v5.0.0 | |
| clarkwinkelmann-popular-discussion-badge | 0.2.1 | |
| sycho-profile-cover | v1.2.0 | |
| nearata-tags-color-generator | v1.2.0 | |
| nearata-copy-code-to-clipboard | v1.1.0 | |
| clarkwinkelmann-author-change | 0.2.1 | |
| migratetoflarum-canonical | 0.2.2 | |
| s9e-mediaembed | 1.0.0 | |
| zerosonesfun-elint | 2.0 | |
+------------------------------------------+----------------+--------+
luceos Those missing keys can be fixed by flushing the cache, either from the admin area or by running php flarum cache:clear. I bet that also solves your admin area issue.
Thanks, I had already done that after the update, it's also in the manual.
So php flarum cache:clear performed again and there is no change, the buttons are still missing.
The input of "composer why-not flarum/core v0.1.0-beta.15"
Shows that
`clarkwinkelmann/flarum-ext-author-change 0.2.1 requires flarum/core (>=0.1.0-beta. 14 <0.1.0-beta.15)
clarkwinkelmann/flarum-ext-bookmarks 0.1.1 requires flarum/core (>=0.1.0-beta. 14 <0.1.0-beta15)
clarkwinkelmann/flarum-ext-popular-discussion-badge 0.2.1 requires flarum/core (>=0.1.0-beta. 14 <0.1.0-beta.15)
fof/best-answer 0.2.1 requires flarum/core (>=0.1.0-beta. 14 <0.1.0-beta.15)
fof/drafts 0.2.1 requires flarum/core (>=0.1.0-beta. 14 <0.1.0-beta.15)
fof/reactions 0.4.5 requires flarum/core (>=0.1.0-beta. 14 <0.1.0-beta.15)
fof/sitemap 0.5.4 requires flarum/core (>=0.1.0-beta. 14 <0.1.0-beta.15)
fof/terms 0.5.0 requires flarum/core (>=0.1.0-beta. 14 <0.1.0-beta.15)
fof/user-bio 0.3.1 requires flarum/core (>=0.1.0-beta. 14 <0.1.0-beta.15)
zerosonesfun/elint 2.0 requires flarum/core (>=0.1.0-beta. 14 <0.1.0-beta.15)
`
Unfortunately I can't tell exactly what button I had disabled before the switches disappeared, but it was definitely in the row after Suspend!
After the deactivation were immediately all buttons gone....
OlafHimmelberg have you tried using the extiverse helper, because that one will set the extensions to the right constraint and tell you which extensions are no longer available:
luceos Sorry... i don't understand!
The link Does not help me with my problem, I have, I think, wrong Ausgedrückt.
My problem existed before the update, it was only the preparation for the update that caused the problem.
I have, because I assumed that the error is very easy (by activating the extension in the console) to fix I have nevertheless carried out the update.
Let's just pretend now that I have not updated the forum, with which command can I activate the buttons again, if the problem is solved, we can gladly take care of the update. Thanks
Translated with www.DeepL.com/Translator (free version)
luceos Have a look at the forum https://www.technik22.de/flarum/public/ here you can see what I mean already on the start page, "core.forum.index.all_disc..." should be a button.
And I already messed up that way before the update....
- Looks like you disabled a language pack. The extiverse helper can manually enable that without Flarum interaction.
- Set all extensions constraints in your composer.json to
*
, so where it reads"fof/reactions": "^0.4.5"
or similar, set^0.4.5
to*
. No need to do that for any entry related toflarum/*
. Then runcomposer update --prefer-dist --no-dev -a
. - Run
php flarum cache:clear
so that all caches of your view are removed. - Run
php flarum migrate
to apply any changes to the database.
If you run into any errors while executing these commands, stop and report back with the output.
luceos Okay... I have found the line only the "*" I do not quite understand.... Should I comment out the line?
If so then with "#" or do you mean something else?
luceos Oh.... now I know how "*", and that with all extensions?
Right?
- Edited
luceos Well the only message I received was "Package s9e/flarum-ext-mediaembed is abandoned, you should avoid using it. Use fof/formatting instead."
But my problem still exists.... :-(
Edit:
On my pad you can see the following message
https://www.bilderhoster.org/image/HRw0e
I'm trying to figure out what that button was that I disabled, that might help.
Could it be that in Flarum no language is active anymore?
I had not only the German language package deactivated but also the English, I think that's where the error lies.
OlafHimmelberg I had not only the German language package deactivated but also the English, I think that's where the error lies.
Yes, you need at least one language pack installed and it's wise not to remove or disable the English language pack as a fall back. It's better to have an English description than cryptic strings like core.forum.header.sign_up_link
. If you still see these cryptic strings you probably just need another php flarum cache:clear
.
Pollux Sorry.... I have to smile a little bit, the code line "php flarum cache:clear" I have used 100 times, the message is always "Clearing the cache....".
How can clearing the cache re-enable the language?...
Shouldn't there be a start code for the extension in question?
But to answer you, the input brought no change, still no buttons :-(
Hi Olaf.
Looks like this is becoming quite the hassle.
The extiverse helper can possibly help you toggle the language on again:
php extiverse ext:toggle flarum/lang-english
Alternatively you can go into your database directly to the settings
table with key extensions_enabled
update the value of that entry by adding "flarum-english" somewhere inside -- the helper obviously is easier
luceos Okay... now it gets complicated ;-)
"php extiverse ext:toggle flarum/lang-english" gives the following message "Could not open input file: extiverse".
And I have to look at the database to understand it :-)
OlafHimmelberg you need to have the extiverse binary download; follow the download instructions in the discussion: https://discuss.flarum.org/d/25246-extiverse-helper