Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Use it for questions about installing Drupal, modules, or themes.

0
votes
0answers
18 views

Grant permission for custom role from hook_install programmatically

Drupal Version: 8.5.5 Need to assign permission to existing role during module installation: Am using below code in hook_install: use Drupal\user\RoleInterface; use Drupal\user\UserInterface; ...
-1
votes
1answer
16 views

What is my next step?

I have drupal core installed on my web host server and would like to install a panopoly distribution to it now. I have uploaded and extracted the tar.gz file to my docroot and can't seem to figure out ...
3
votes
1answer
20 views

What argument to pass hook_update_n()?

We have a custom module, mymodule, that we are using to create a custom block programmatically. We tried to do the following and it does enable the module successfully, but i get the following warning....
0
votes
0answers
30 views

Drush 9 bails out with fatal error

I have expanded the tar archieve from version drupal-8.5.5 and wanted to get drush running. I have changed into the drupal-8.5.5/core sub-directory and have run composer require drush/drush The ...
0
votes
0answers
34 views

New install: Missing product attribute tabs: “Manage Fields”, “Manage Form Display”, “Manage Display”

Issue TLDR; My Drupal Commerce site, still in basic configuration stage, is missing tabs for "Product Attributes". I need to figure out how to fix this. I'm hoping this is a case of a missing module ...
-1
votes
0answers
15 views

getPath() on null in Drupal\config_translation\ConfigNamesMapper (conflict with configuration translation module)

I am trying to install an old module (not maintained now) https://github.com/INsReady/drupal-commerce-stock Then I get this error message The website encountered an unexpected error. Please try ...
1
vote
0answers
22 views

Progress bar freezes during Drupal installation

When I install Drupal 8via composer on Centos7 with php7 the Progress installation bar does not budge unless I refresh the browser (Tried Chrome, opera and Firefox)but it does not install properly. I ...
0
votes
1answer
20 views

Module installation order

Within my custom module i've got an optional implementation to the dynamic entity reference module: https://www.drupal.org/project/dynamic_entity_reference When the module exists, I add a DER field ...
0
votes
0answers
28 views

system.site.yml not installing correct site settings

performing D8 install through a custom profile, added a system.site.yml like: name: 'Portal Manager' mail: cms-admin@example.com slogan: '' page: 403: '' 404: '' front: /user admin_compact_mode: ...
1
vote
1answer
82 views

Error: Class 'Drush\Sql\Sql' not found

This is my first attempt at installing Drupal using Composer. I have successfully installed Composer and the Drupal Project template, which comes configured with Drush. To install I use composer ...
0
votes
0answers
25 views

What's the best files and directories permission for shared hosting [duplicate]

i'm using a shared hosting for my Drupal Website and I'm having some security troubles especially with folders and files permissions. So after some researches in the official documentation and some ...
3
votes
2answers
86 views

How to install with composer external library that drupal module depends on

Module bootstrap_languages depends on external library of same name how do we ask composer to require the external library that needs to go to libraries/bootstrap_languages folder The project's ...
2
votes
1answer
57 views

How do I stop a module from installing optional configuration, or make sure it's installed by the time I want to remove it myself?

I don't want the "Frontpage" view to be installed along with my installation profile. I tried adding a hook_install to a module which does this: \Drupal::entityTypeManager()->getStorage('view') ...
0
votes
2answers
481 views

How to solve limitations of 32-bit PHP in drupal 8

I am unable to complete the setup of Drupal 8. When I get to the third step then the error below will be displayed stating: "You are running on a system where PHP is compiled or limited to using ...
0
votes
0answers
66 views

Drush Config Export not working after Site-install Standard

I have a Drupal starter site created and pushed to bitbucket. For every new project I start I clone this site and start working from there. It worked for a while but I'm trying to get it to work for a ...
2
votes
2answers
51 views

Composer does not install Calendar Module

Hi I am having trouble migrating my local site to development (two seperate servers). I believe the reason being is because I can not install an unstable Calendar Module, which I have on my local but ...
2
votes
1answer
187 views

Installing an alpha dev version with composer

Block class module has a 8.x-1.x-dev version. Installing using the recommended command from the specific release page composer require 'drupal/block_class:1.x-dev' installs a versionless ...
0
votes
1answer
88 views

Install multiple apps on a Bitnami stack

I am currently transitioning from my Ubuntu 16..04 LAMP Server to a Bitnami 7.59 Drupalstack. However, I discovered that Bitnami does NOT provide instructions / FAQ on how to install multiple Drupal ...
-1
votes
1answer
18 views

Installing D8 using composer, with LAMPP destination is unclear

Documentation is unclear about the final destination of site. XAMPP looks for site in opt/lampp/htdocs, do I run composer from here? If so will it then create a dir called web with drupal inside that ...
1
vote
1answer
275 views

Page not found after installation

I am totally new to Drupal. After following the installation instructions, I have access to my site on Drupal. However, I am directed to an error page when I tried to click on Content Tab. The error ...
0
votes
1answer
73 views

Automate installation process into Docker

There are many excellent questions here about automating the initial setup process for Drupal but I haven't seen any pertaining specifically to Drupal containers in Docker. Here's my setup. I've kept ...
0
votes
0answers
35 views

Installing Drupal using composer - composer create-project drupal-composer/drupal-project:8.x-dev mastering --stability dev --no-interaction

What could be the problem i am using an online IDE specifically cloud9. Getting this error when i install drupal using composer. sammy_g:~/workspace $ composer create-project drupal-composer/drupal-...
0
votes
1answer
90 views

Can't connect to DB while installing Drupal 8

Can't connect to DB while installing Drupal 8. DB is located on localhost acording to direct admin but i can get to DB only when using ip address in advanced options of drupal installation otherwise ...
0
votes
1answer
41 views

Domain Change from .com to .org

My company wants to change the domain from domain.com to domain.org, how would we do that according to moving the theme, all files, modules, etc. and keeping the Drupal integration intact?
0
votes
0answers
94 views

Enable SFTP for upgrades

After installing D8 on my server, I wanted to add some modules, so I went to Extend / Install new module and was told I needed FTP access to the server. I've got my server configured to only use SFTP,...
1
vote
1answer
59 views

Drupal 8.5 broken after simultaneously enabling many modules

I installed D8 yesterday, and installed a bunch of modules today, then went into the "Extend" window and enabled a lot of them all at the same time (clearly not the best plan). Now all I get on the ...
-2
votes
1answer
25 views

drupal 8.5 no toolbars active

I am new to drupal. I installed 8.5. via web-download, transferred it via ftp and extracted the tar-file via ssh. I managed to setup a mysql database and install it with drupal. Wonderful. I can add ...
0
votes
0answers
63 views

HTTP 200 error occurs when installing new modules and themes

I've recently installed Drupal 8.4, on a server running PHP 7.1. When I install a new module, I get the following error message. An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging ...
0
votes
0answers
37 views

DRUPAL-8 multi language site installation in sub directory

I have a WordPress installation in main domain with multi language support. I am able to access it in the following ways: http://localhost/wordpress/anything => English http://localhost/wordpress/en/...
1
vote
2answers
98 views

How to recreate the user_picture field?

On Drupal 8 there is by default a user_picture field for the user's photo. When I started my site several months ago, I deleted this field because I did not use it. Today I need this field, so I ...
1
vote
1answer
923 views

Boostrap failing with Drush 9.1.0

I had Drush 9 working before it got upgraded to 9.1.0 and am a little bit at my wits end why Bootstrap is failing and why I get "Bootstrap failed" or "! [NOTE] Drupal root not found. Pass --root or a @...
0
votes
0answers
94 views

Drush site install multisite existing config

I am currently facing a problem that drush si for a new multisite is not possible: drush si --config-dir="/var/www/html/config" --sites-subdir="sub8.localhost" --db-url=mysql://root:root@mariadb/sub8 ...
0
votes
2answers
531 views

Why is the button to install a new module missing in the admin interface?

I am new to Drupal and am attempting to install pathauto. But when I click on "extend," I don't have a "install new module" button. Any suggestions?
1
vote
0answers
16 views

What does the code status “build: error” signify for Drush 8?

On the install page for Drush 8, under the section "Drupal Compatibility", the code status is listed as "build: error". What are the consequences of this, if any?
3
votes
1answer
86 views

The site has a mix of modules installed manually and via Composer: Can I move all to Composer?

I've inherited a Drupal 8 site where only few modules were installed via Composer; the rest was manually installed. Is there a way to fix this, and move the manually installed modules to be handled ...
0
votes
1answer
63 views

Moving drush installed directory to production site?

I am installing Open Social on Drupal 8 on my own Ubuntu Linux instance with Nginx, MySQL and PHP 7. Got the "Quick install" instructions using composer and drush completed successfully. As a ...
1
vote
1answer
93 views

Problem in deploying Drupal 8 application

I am trying to deploy a Drupal 8 application to another folder from development. Using PGSQL as database server. I have database named xyz. I am copying that database to another one named abc. The ...
0
votes
0answers
52 views

Drupal 8.4 won't install

I installed a new version 8.42 on my external server. I get White screen of death and nothing. It goes to the install.php file but nothing. This is absolutely clean after downloading. I am NOT ...
1
vote
1answer
17 views

I want to uninstall l10n_client which may be duplicated

I use composer. The L10n_client module could not be updated or occasionally not found. I feel that the names of L10n_client or l10n_client_ui are different. It is a similar atmosphere as below. https:/...
-2
votes
1answer
39 views

Server showing 89% occupied after installation [closed]

I have a server of 250MB disk space and MYSQL of 115 MB. And I have just installed basic Drupal 8 site and it's showing me 208 MB and 75 MB(MYSQL) occupied. What can I do? I don't want to upgrade my ...
0
votes
1answer
40 views

Avoiding entity-type errors on module installation

I created a logger service that uses a config entity for configuration: https://drupal.org/project/dblog_persistent Unfortunately, it appears that this module is not installable on a new site, ...
0
votes
1answer
141 views

MailChimp + Drupal 8: How to install properly? (page could not be found)

In order to install MailChimp in Drupal 8 I followed the instructions for the MailChimp Drupal module. Instructions for 8.x-1.x The 8.x-1.x release uses version 3.0 of the MailChimp API and ...
2
votes
1answer
67 views

What is the best method for getting vendor files on the server?

I'm fairly new to Drupal 8 development, and I've been a little frustrated with the complications that Composer has added. Nonetheless, I'm trying to determine the best way to get the necessary /vendor ...
0
votes
1answer
64 views

Drush 9 command equivalent to core-quick-drupal (qd)?

In Drush 8, there is a core-quick-drupal (qd) command, however, it's missing in Drush 9. Is there any equivalent command in Drush 9 which allows to download, install and serve Drupal with minimal ...
3
votes
3answers
1k views

Installation error with Composer

I'm trying to install Drupal 8 with Composer. Drupal Console is already installed (in case that's relevant), so I go to my localhost folder (working locally) and type: composer create-project drupal-...
0
votes
1answer
53 views

How to rename installation profile name in existing website in D8

I have installed Drupal 8 with a custom subprofile. 'my_custom_profile'. Development of site is almost completed and we have added all the contents in the site. In this stage how can I rename my ...
0
votes
1answer
66 views

Durpal 8 on install new module, insert data in new created table

I created a new table into the new schema and I want to insert default data into it. How can I do this in the module.install file ?
1
vote
2answers
465 views

Errors when running Drush 9 on shared server

I'm attempting to to install Drush 9 on Media Temple (shared hosting). We have a number of Drupal 7 (D7) sites on the server, and we've just recently started to migrate them to Drupal 8 (D8). Drush is ...
0
votes
0answers
56 views

Drupal 8.4 install on IIS keeps going back to select language

I am installing Drupal 8 on IIS following http://www.drupalonwindows.com/en/blog/installing-drupal-8-windows#composer-git I have the install screen and select the language and 'Save and Continue' and ...
4
votes
1answer
372 views

How to set the default theme programmatically in drupal 8

I've tried to set a theme as default theme in drupal 8 using the following code > $config = \Drupal::configFactory()->getEditable('system.theme'); > $config->set('default', 'test_theme')...