记录一次小白手残折腾的经历。
缘起:手贱使用了composer update
命令,可能更新了不兼容的插件,导致网站报错打不开。
于是乎像往常一样熟练地打开数据库,在setting表中找到extensions_enabled字段修改。由于没细看是哪些插件的问题,一股脑都删除了,想着再去后台重新开一遍,顺便还能测试一下是哪个不兼容插件的锅。
删除后,网站的确可以正常打开了,于是进入插件选项,一个个重新打开。全打开后,发现网站左边的标签栏和帖子后面的标签全没了,还有一些插件比如置顶、合并、修改作者、统计在线人数等也统统不能用。仔细查看了相应的插件都是开启状态,为啥不能用呢?
百思不得其解,都准备来这儿问问大佬了。突然灵机一动,会不会是因为插件有启用顺序,那些不生效的插件是否是因为依赖与标签TAG插件呢?遂将extensions_enabled中的"flarum-tags"改到第一个,重新打开网页果然一切正常了。
附composer update更新的插件列表,不知道是哪个的锅
- Updating symfony/yaml (v3.4.39 => v3.4.40): Downloading (100%)
- Updating symfony/translation (v3.4.39 => v3.4.40): Downloading (100%) - Updating symfony/event-dispatcher (v4.4.7 => v4.4.8): Loading from cache
- Updating symfony/console (v4.4.7 => v4.4.8): Downloading (100%)
- Updating symfony/filesystem (v4.4.7 => v4.4.8): Downloading (100%)
- Updating symfony/config (v3.4.39 => v3.4.40): Downloading (100%)
- Updating s9e/text-formatter (2.4.0 => 2.5.0): Downloading (100%)
- Updating league/flysystem (1.0.66 => 1.0.67): Downloading (100%)
- Updating symfony/debug (v4.4.7 => v4.4.8): Downloading (100%)
- Updating symfony/finder (v4.4.7 => v4.4.8): Downloading (100%)
- Updating symfony/mime (v5.0.7 => v5.0.8): Downloading (100%)
- Updating symfony/http-foundation (v4.4.7 => v4.4.8): Downloading (100%) - Updating symfony/process (v4.4.7 => v4.4.8): Downloading (100%)
- Updating symfony/css-selector (v5.0.7 => v5.0.8): Loading from cache
- Updating filp/whoops (2.7.1 => 2.7.2): Downloading (100%)
- Updating doctrine/dbal (v2.10.1 => 2.10.2): Downloading (100%)
- Updating clarkwinkelmann/flarum-ext-emojionearea (0.2.1 => 0.2.2): Downloading (100%)
- Updating clarkwinkelmann/flarum-ext-who-read (1.1.0 => 1.2.0): Downloading (100%)
- Updating csineneo/lang-traditional-chinese (1.12.10 => 1.12.12): Downloading (100%)
- Updating fof/moderator-notes (0.1.1 => 0.1.2): Downloading (100%)
- Updating fof/reactions (0.2.4 => 0.2.5): Downloading (100%)
- Updating fof/spamblock (0.2.1 => 0.2.2): Downloading (100%)
- Updating guzzlehttp/guzzle (6.5.2 => 6.5.3): Downloading (100%)
- Updating fof/stopforumspam (0.2.1 => 0.2.2): Downloading (100%)
- Updating fof/terms (0.4.1 => 0.4.2): Downloading (100%)
- Updating itnt/flarum-backtop (v0.1.7.1 => v0.1.7.2): Downloading (100%)
- Updating kilowhat/flarum-ext-mailing (0.2.2 => 0.2.3): Downloading (100%)
- Updating nomiscz/flarum-ext-auth-wechat (v0.1.3 => v0.1.4): Downloading (100%)
- Updating reflar/level-ranks (1.2.1 => 1.2.2): Downloading (100%)
- Updating tank/perspective (0.1.9 => 0.1.10): Downloading (100%)
- Updating cbschuld/browser.php (1.9.5 => v1.9.6): Downloading (100%)
- Updating tank/polyfills (v0.1.0 => v0.1.1): Downloading (100%)
- Updating the-turk/flarum-password-strength (0.1.2 => 0.1.3): Downloading (100%)
- Updating therealsujitk/flarum-ext-gifs (v1.4.7 => v1.4.8): Downloading (100%)
- Updating fof/extend (0.2.0 => 0.3.0): Downloading (100%)
- Updating aws/aws-sdk-php (3.134.6 => 3.137.4): Downloading (100%)
- Updating jfcherng/php-diff (6.7.1 => 6.7.2): Downloading (100%)
- Removing littlegolden/flarum-mybb (dev-master 8f71414)
- Installing littlegolden/flarum-mybb (dev-master 83efbb9): Downloading (100%)