Stack Exchange Network

Stack Exchange network consists of 175 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.

0
votes
0answers
5 views

Drupal 7 Commerce KickStart 2 Installation [duplicate]

Upon installation of Drupal Commerce Kickstart, A warning prompt shows up. After finishing installation. My site looks like this. The site is a mess, images were non-existent. It's ugly compared to ...
0
votes
0answers
16 views

Fatal error: Call to a set_group_operator() on a non-object in views/includes/view.inc on line 1026

I copied all files and the database of a working drupal 7 installation. I made sure .htaccess and settings.php are fine for my local machine. Unfortunately neither accessing the page with the browser ...
0
votes
1answer
18 views

Installation ownership

I am starting my Drupal 8 website, using a LAMP stack and AWS. I had tested my server and made sure PHP and MySQL are working. When I install Drupal 8 through composer it is successful. However, when ...
0
votes
1answer
10 views

SQL error when adding an other database table

The Code: In my module.install i am declaring my main database table. This works without any problems: function my_module_install() { create_initial_roles(); drupal_set_message("Installed module ...
0
votes
0answers
35 views

PDOException: SQLSTATE[HY000] [2002] Connection refused Upon Drupal 7 Installation

I have already installed LAMP in my Ubuntu 18.10 server. I have also downloaded Drupal 7 files. But after I navigate to http://10.0.34.74/drupal-7.65/ in my browser. The error below occurs: Error The ...
6
votes
1answer
273 views

“Declaration of <function> must be compatible with <interface>” in Drupal 8.6.10

Up until Saturday I had a functioning Drupal 8.6.x instance. The I did composer update and Drupal 8.6.10 was installed. Since then I get the following in my error logs: Declaration of Drupal\Core\...
3
votes
1answer
76 views

applyUpdates() is deprecated. Is it really needed in hook_install() anyway?

I maintain a contrib module which defines two base fields, but these are not added to any content type on installation, as this is done during admin config. The module has // Add our base fields to ...
0
votes
0answers
33 views

Do we need any init steps in this scenario?

In Order to install Drupal Core using Code deploy, I follow these steps. Download drupal-7.x.zip /usr/bin/unzip -o /tmp/drupal.zip /bin/mv /var/www/drupal-7.x /var/www/drupal Similar steps to ...
2
votes
3answers
280 views

How to add theme from github with composer

I have a Drupal 8 installation and I like to install a theme from github.com using composer. It is this theme https://github.com/forumone/gesso Can anybody help me what I have to add to the composer....
0
votes
1answer
29 views

Not able to install modules

I installed Drupal on my localhost (LAMP Stack), and I am trying to install modules, but I get the following error. I tried changing the permissions of the folder, but still it is not working. It is ...
0
votes
2answers
62 views

What is the correct composer syntax after manually editing composer.json

I want to build a site broadly based on an exiting site and was thinking that the best way to do this would be to copy and paste required modules from the existing site composer.json and paste them ...
0
votes
0answers
30 views

What If I Need Conditional/Overriding (synchronized) .yml Config Install With a Custom Module?

With D8, the appropriate method for adding fields during install with a custom module is with the config system and .yml files in a config/install directory. I have a module for user theming I like ...
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
32 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
110 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
162 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
351 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
58 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
36 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
27 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
174 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
1answer
65 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
213 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
41 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
177 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
24 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
45 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
130 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
77 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
635 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
35 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
619 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 ...
3
votes
1answer
126 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
302 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
142 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
733 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
292 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
897 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
269 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
1answer
373 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
68 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
261 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
194 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
27 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 ...
2
votes
2answers
272 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
3k 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
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?