【发布时间】:2023-04-01 00:15:01
【问题描述】:
我正在使用 apache、MySQL 和 PHP 设置开发服务器,并且成功安装了 drupal。
现在我正在尝试安装这个自定义主题 [https://github.com/openeuropa/oe_theme] 但我有一些问题。 我在我的 drupal 站点中安装了 global composer 和 local drush。
正如说明所说的那样:
composer require openeuropa/oe_theme./vendor/bin/drush en oe_theme_helper- 我还在 drupal 的 composer.json 中插入了这个补丁 (https://www.drupal.org/files/issues/474684-151.patch)
./vendor/bin/drush config-set system.theme default oe_theme
我当然在主题改变后运行drush:rebuild ...
从命令我运行drush status,我看到默认主题:oe_theme 但在站点中,它看起来像没有安装
还有一个错误说Drupal\Core\ExtensionUnknownException: The oe_theme does not exist or not installed ...
当然,如果我尝试添加内容,我会得到 网站遇到意外错误。请稍后再试。
服务器:Apache (RHEL 7) MySQL 8 PHP 7.3 Drupal 8.9
这是我第一次使用这些工具,我不知道自己做错了什么。
如果有人以前安装过这个主题或者只是可以帮助我解决这个问题,我将不胜感激。
谢谢!!
【问题讨论】:
标签: composer-php themes drupal-8 drush