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 [installation]

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

0
votes
1answer
19 views

Styles missing after clicking on “Log out” [on hold]

I was following the Drupal 8 User Guide, creating the Anytown Farmers Market guiding scenario described there. I was half way creating the site. Then I clicked on the “Log Out” field and the whole ...
-1
votes
1answer
40 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
127 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
97 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
37 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
31 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
0answers
8 views

Errors when installing Open Social on cloud virtual machines

I have attempted to install open social on both AWS EC2 and a Digital Ocean droplet. However around the "Apply Configuration" step of the installation, I have recieved the following error. An AJAX ...
0
votes
1answer
13 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
1answer
41 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
29 views

drupal_rewrite_settings() append databases variable without checking if it is already defined inside settings.php

Download Drupal 8 Copy the default.settings.php file to settings.php Modify the settings.php file by adding the definition of the database connections $databases['default']['default'] = array ( '...
0
votes
0answers
18 views

How to change module update with composer

On drupal 8 instance, I installed module by composer and some modules with the drupal UI install process. I try to change the composer.json for adding the module installed by the UI in the composer ...
0
votes
0answers
73 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 ...
1
vote
1answer
41 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
67 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 ...
0
votes
0answers
63 views

Problem to install Drupal Varbase distribution

I try to install the Drupal 8 Varbase distribution in localhost. I have php 7.1.9 and mysql 5.7.19. After launching the install order with composer : composer create-project Vardot/varbase-project:^...
-2
votes
1answer
37 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 ...
0
votes
0answers
31 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....
0
votes
0answers
39 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
vote
0answers
30 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
46 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
42 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
363 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
28 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
273 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
86 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') ...
1
vote
2answers
2k 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
156 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
103 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
426 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
187 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
576 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
168 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
59 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
206 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
49 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
172 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
106 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 ...
0
votes
0answers
109 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
186 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
183 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
1k 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
93 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
80 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 ...