0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Drupal でモジュールを追加したらシステムが壊れちゃったとき

Last updated at Posted at 2015-12-16

先日のDrupal Advent Calendar で「Drupal8で認証付きの勉強会サイトを作ってみる」を書いたのですが、その際、実は、いろいろとハマリました。
せっかくなので、メモとして残しておきます。

まず、アクセス権限関係。今回 Node Access と ACL モジュールを使ったのですが、設定中にエラーがでて、正しく設定できなくなってしまいました。Drupal はデータベース上にいろいろと依存関係が残るため、設定の方法をミスったりすると(かつ、Moduleにバグがあると)元に戻せなくなってしまうことがあるのです。

直すためには、全部スクラッチからインストールしなきゃいけないかな、とも思ったのですが、ふと思い立って、モジュールだけをアンインストール→インストール、してみました。

すると、スッキリ!直ってしまいました。

ということで、もし、モジュールの設定ではまったら、アンインストール → インストールはお勧めです!

ちなみにメニューは「機能拡張」から、タブの「アンインストール」です。最初見つからなくて焦りました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?