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

Questions tagged [installing]

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

-1
votes
0answers
17 views

Handle config import export in git workflow [duplicate]

In drupal8 we use config/sync set up. I check out feature/branch, add a module (asset_injector) via composer, enable it, change module settings, export the config and check into git and push. Now I ...
1
vote
1answer
28 views

Downloaded Drupal 8 with composer, now what? [closed]

I'm a complete Drupal newbie trying to install Drupal 8 for the first time on a new server. I downloaded the software following the instructions in section 3.5 of the User Guide, but there doesn't ...
-2
votes
1answer
27 views

How to Install Prism Module

Prism.js is a useful syntax highlighter that is good for displaying code samples on web pages. I have installed the Prism module, and I have followed all of the instructions in the module's README....
-1
votes
1answer
69 views

Your PHP version does not satisfy that requirement [closed]

We use the following for our local development environment. When we run composer require 'drupal/module_name:^1.1', we get the following error message. We have doubled checked that all settings for ...
-3
votes
3answers
151 views

Creating a new latest-Drupal project with local-Drush, with all desired credentials in one go? [closed]

I use Ubuntu 18.04 with Bash and Apache 2.4 and I desire to automate the entire process of creating a Drupal 8 with local Drush 9 project, at least after creating a database for it (which I usually ...
1
vote
1answer
268 views

ERR_EMPTY_RESPONSE during installation with PHP 7.3

I'm trying to install Drupal 8 with PHP version 7.3.0RC4. When I go to http://localhost it redirects me to http://localhost/core/install.php with the empty response error. I checked the Apache error ...
-3
votes
1answer
44 views

Twig folder missing

After done a local migration, I do that for my production site. And I encounter this error when running CRON with drush: Error: syntax error, unexpected '?' in xxx/sited8/sites/default/files/php/twig/...
1
vote
1answer
34 views

How can I create a custom module that can be reinstalled without throwing an error?

I'm creating a custom module based off of Bootstrap Paragraphs, with a bunch of configuration files for custom paragraph types. The configuration includes a bunch of field.storage. files, which AFAICT ...
0
votes
1answer
16 views

Header and many components missing in Open Social

Just installed Open Social: https://www.drupal.org/project/social The problem is that there is no content on the front page. No header or other blocks. I have reviewed videos of installation on ...
1
vote
2answers
105 views

Is there any security risk to use getenv() inside settings.php to populate databases variable from a .env file?

I am using the Drupal composer project, which doesn't use getenv() by default. I wanted to use the following code inside the settings.php file in a production site. $databases['default']['default']...
0
votes
0answers
75 views

Errors and warnings on installation (Ubuntu 18.04 WSL) [duplicate]

I'm running into issues when installing a fresh copy of Drupal 8.6.1 on localhost. My setup is Ubuntu 18.04 on WSL running Apache 2.4.29, MySQL 5.7.23, PHP 7.2.10. I receive the following warning at ...
0
votes
1answer
46 views

Programatically set the language

I'm trying to automate the setup of Drupal multi-site installations as much as possible, we're using each multi-site for a separate country so would like the languages localised for each. Is there a ...
0
votes
1answer
146 views

How do I programmatically install a module? [duplicate]

For Drupal 7, I found How do I programmatically install and enable a module? What is the equivalent code for Drupal 8? UPD: here Configuration Manager or hook_update() to enable modules I found the ...
-2
votes
1answer
38 views

Recovering a failed Commerce installation [closed]

Scenario: existing site 1G PHP memory install commerce modules locally do some dev and configuring cex my config and deploy upstream deployment fails with "php out of memory" try deployment again (4 ...
1
vote
1answer
88 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
19 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
23 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....
1
vote
0answers
39 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
91 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
57 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: ...
3
votes
1answer
496 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
31 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
436 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
110 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') ...
2
votes
2answers
3k 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
251 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
127 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
558 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
245 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
19 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
745 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
2answers
228 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
78 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
289 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
63 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
210 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
153 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
26 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 ...
-1
votes
0answers
163 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
47 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
225 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
2k 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
230 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
2k 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
97 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
90 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
148 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
62 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
21 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:/...