Questions tagged [installing]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
38 views

The provided host name is not valid for this server

I'm trying to migrate a drupal website from a server into my localhost but I trigger the error The provided host name is not valid for this server. I've seen I need to add the trusted host ...
-6
votes
0answers
112 views

Installed module not working

I have a website hosted in Pantheon and I am trying to install the Security Kit module to the live website. I tried installing it on DEV (dev.website.com) environment, and then moved the code to ...
0
votes
1answer
49 views

How do I make my site with pre-loaded content and pre-loaded config available to others without creating a distribution? [closed]

I want to be able to provide a simple way for users to install a Drupal website that contains a certain set of content, contributed modules and custom content types. I also want to keep the process of ...
0
votes
1answer
17 views

Content Moderation: Editorial workflow not installed and broken/missing handler on the moderated content view

I'm having troubles enabling Content Moderation Module (content_moderation) on a Drupal 8.7.8 site. During installation everything seems fine, drush en content_moderation finishes without errors, ...
2
votes
1answer
35 views

Umami content not created

I'm creating a new Drupal 8 site using Lando/Pantheon - and then installing the Umami profile. I've done this before with no problems. This morning when I try, the site is created and it looks like ...
1
vote
2answers
34 views

After restoring, incorrect database credentials are used

I am trying to get a local drupal environment up and running using an sql dump from a production environment. I am attempting to follow instructions from drupal's documentation. So far, from our ...
-2
votes
1answer
42 views

Installing a module on a separate database

I currently have a Drupal 7 site with a big database. I have to install the Drupal Commerce module and I would like to install the module using a separate database. I know I have to setup the second ...
0
votes
0answers
44 views

How do I synchronize 2 sites, one installed with Composer and one from downloaded zip?

I have two sites: one, local, installed with composer create-project drupal-composer/drupal-project:8.x-dev mysitelocal --stability dev --no-interaction another one, remote, installed from drupal-8.7....
0
votes
1answer
32 views

“File not found error” when installing using composer

I'm running Docker on Ubuntu 18 with a container for MariaDB, Nginx and php-fpm (7.3). The PHP container has composer installed, and I used it to create a Drupal Commerce project. I can start the ...
0
votes
0answers
43 views

Can't install module Webform because more than 2MB

I keep getting the error that the file exceeds 2MB and that that is the maximum allowed. This is when I try to upload it. For now it only happens with the module Webform for drupal 8. Is there any ...
0
votes
0answers
19 views

Assign a particular permission to a specific user role while installing the module [duplicate]

I have custom permission called Access vm content list in my module's module_name.routing.yml. And I listed the same in the module_name.permission.yml to get it managed via admin panel. While ...
0
votes
0answers
5 views

Unable to install site when attempting to upload a Background Process module

We recently added a new module Background Process to our local drupal environment by running the command drush en background_process -y. After installing, I was able to use the method ...
0
votes
1answer
168 views

Delete a field from the database manually

I installed a module that left a ghost field that isn't tied to any entity bundle :( How would I go about safely and thoroughly deleting this field from the database? I have to delete this field to ...
1
vote
1answer
28 views

How to delete paragraph when uninstalling the module?

I have been creating the custom module which have the paragraph configuration, when installing the custom module, the paragraph config will be stored in the database and then It will be available in ...
0
votes
1answer
34 views

Why did my site crash when I moved module and theme folders?

A little background, I am quite new to Drupal and IT in general, so this may be a silly/basic question (I am going to start learning HTML, CSS, PHP, etc. for Drupal). I first set up my Drupal site by ...
-3
votes
1answer
97 views

Getting PHP extension “gd” and Database support disabled error

I am trying to install Drupal 8.7.3 on my windows machine through the Xampp (PHP 7.3.6). But I am getting following errors: Errors: Please see the screenshot: https://snag.gy/06sMEa.jpg Tried to ...
0
votes
0answers
33 views

Clone project: refused to execute script

I just cloned an empty Drupal 8 project locally, initially I entered the web folder and I used php -S localhost: 8000 With this virtualization, every time I enter the "edit" rooting rule, a 404 ...
0
votes
1answer
39 views

Problem installing Knowledge base module

I installed Drupal using the Bitnami stack. I'm trying to install the knowledge base module from https://www.drupal.org/project/kb . I have installed and enabled the modules upon which it is ...
0
votes
0answers
23 views

Installation on Oracle database using the Oracle driver

I have been trying to install/host Drupal 7 on Oracle Database as the primary database for last few days without any luck. Here is the Oracle driver link that I have looked at https://www.drupal.org/...
1
vote
2answers
64 views

How can I update existing config from a custom module's config/install yamls?

I added some config yml files to my module's config/install directory so that it is installed directly when installing my module, it works well only if there isn't a config file with the same name ...
1
vote
2answers
30 views

How to get my custom module to recognized a exported view?

I have created a view and then exported it normally to a yml file. Then I put this yml file into my mycustommodule/config/install folder. So current its named mycustommodule.view.user_assigned.yml ...
0
votes
0answers
10 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
21 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
12 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
609 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 ...
0
votes
2answers
20 views

How can I get rid of Contribute 8.x-5.0-beta3 module?

What's wrong with Contribute 8.x-5.0-beta3 module? After 8.6.10 update I have a problem with Contribute module. First it's marked as outdated/not supported but on some sites I can not remove it fully ...
6
votes
1answer
380 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
145 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
38 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
4answers
599 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
30 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 ...
1
vote
3answers
272 views

What is the command to execute after manually editing the composer.json file?

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
46 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
33 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
4answers
406 views

Cannot uninstall modules due to missing table br_schedule

When I hit the Uninstall tab in the UI or try to uninstall a module with Drush I get the following errors: Drush: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'DATABASENAME....
1
vote
1answer
24 views

How can I trigger custom code when some other module is being installed/uninstalled?

I am using a third-party module. Whenever it is installed or un-installed, I want to programmatically create/delete some menus. How can I detect that a module is installed or un-installed?
-2
votes
1answer
59 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
545 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
0answers
22 views

Module Uninstall Validators and Lazy Services

I have recently been working on creating functionality for a module that requires certain content related to the module be deleted before the module itself can be uninstalled. https://www.drupal.org/...
0
votes
1answer
535 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
94 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
43 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 ...
1
vote
1answer
37 views

How to add warning message before module is uninstalled

The module in question has a content entity, entity1, that has another content entity, entity2, that depends on entity1. I would like to add a warning before uninstall of the module if there are ...
6
votes
2answers
841 views

Disabling module with config sync and removing with composer

I have an issue disabling modules, I've searched but cannot find something useful: - Developer A disable module and via composer remove it - I pull his changes so i run composer install that remove ...
0
votes
1answer
77 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
527 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
181 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 ...
2
votes
1answer
425 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
1answer
61 views

Manually removing database records of a module

I inherited a Drupal 7 site that appears to have a history. I'm receiving the following error when updating modules or clearing the cache: PDOException: SQLSTATE[42S02]: Base table or view not ...
-2
votes
1answer
43 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 ...