Questions tagged [installing]

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

Filter by
Sorted by
Tagged with
-1
votes
0answers
73 views

Installing a site with a specific configuration [closed]

I would like to use drush site-install to automate installing and configuring a new Drupal 8 website. What process would I need to do to write the configuration, then perform the automated ...
1
vote
1answer
63 views

Installing a site from existing configuration [closed]

I tried importing a configuration after installing Drupal 8 using the standard installation profile but was getting into errors related to the installation profile being already present. I need a ...
2
votes
2answers
46 views

New installation showing HTML source instead of rendered HTML

I just installed drupal 8.8.1 using Composer. When starting installation it displays HTML source in browser window instead of rendering the HTML of the installation script. The code below is what is ...
0
votes
0answers
22 views

Unable to uninstall the Field Collection module

I want to remove field collection module in Drupal 8 as the module has been deprecated. When I try to uninstall after removing the fields from content type the option to uninstall is greyed out. I ...
2
votes
0answers
118 views

Class “\Drupal\system\Controller\Http4xxController” does not exist [closed]

I'm using https://github.com/drupal-composer/drupal-project to install Drupal 8. The only thing I've changed in the composer.json is to freeze Drupal core version to 8.8.1 After Drupal installation I ...
1
vote
2answers
44 views

XAMPP and Acquia Dev Desktop [closed]

I installed XAMPP on my local machine to use it for Drupal. But all the navigation between all the localhost websites are really slow, no matter if it's a brand new vanilla Drupal website or if it's a ...
0
votes
1answer
756 views

Notice: Trying to access array offset on value of type null in while installing drupal

I am new to drupal. I have downloaded and extracted drupal into a folder. I have installed apache and PHP on my Manjaro Linux. here is my drupal specific apache conf:- Alias /noone/blogindrupal "/...
1
vote
1answer
39 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 ...
0
votes
1answer
51 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
22 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
42 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
39 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
43 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
41 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
47 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
243 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
30 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
43 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
110 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
37 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
40 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
26 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/...
2
votes
2answers
71 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
22 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
13 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
723 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
22 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
393 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
155 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
640 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
32 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
441 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
50 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
34 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
482 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
25 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
62 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
719 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
565 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
99 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
38 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
891 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
85 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 ...