Questions tagged [installation]
Use it for questions about the installation of Drupal, modules, or themes.
704
questions
0
votes
1
answer
503
views
Use drush to install a module on all of the sites of a multisite at once
I have a Drupal 8 multisite, setup with 6 different sites. I want to install Admin Toolbar on all of them on my local dev environment (mamp / terminal / drush). I have downloaded that module using ...
6
votes
3
answers
8k
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 ...
10
votes
1
answer
5k
views
Managing module library dependencies with composer
I've found Dependencies in a custom module with drupal-composer, How can I include a third party library in my custom module without using Composer Manager and How to manage contrib modules composer ...
-2
votes
0
answers
43
views
Wrong directory structure: sites, themes, module-folders in root instead of web folder
I have a Drupal 10.3 installation which has already been migrated from Drupal 8 over Drupal 9 to 10. Currently I have the problem that the sites, themes, module-folders are in the root-direcotry ...
0
votes
1
answer
1k
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
1
answer
818
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 ...
1
vote
1
answer
787
views
500 error during installation?
Trying to install the new Drupal-COD Drupal 7 distribution, but got this error:
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows
Is this the sort of error one can ...
0
votes
2
answers
2k
views
How to fix missing php extensions problems in custom Docker image?
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 ...
1
vote
1
answer
455
views
I installed Solr for the Search API Solr can someone can give me hints what i could have done wrong?
I'm currently running a CentOS 7 server with cPanel and Drupal 8. I installed Solr 8.8.1 and I can access the administratrion page where I an able to create cores. I installed the Search API module ...
0
votes
1
answer
477
views
Installing Drupal with existing Pantheon site?
First, I am completely new to, well, all of this... So I'm sorry if I sound like an idiot. I have been fighting with this thing all day, and I think I'm more confused then when I started. I work for a ...
1
vote
1
answer
1k
views
How do I avoid overwriting the .htaccess file when I use the Compose command?
On my new Drupal 9 website, I customized the .htaccess file and the robots.txt file
I don't want its files to be overwritten when updating with Composer.
I added the lines below in my composer.json ...
0
votes
1
answer
412
views
Migration Issue: New Site won't open -- server doesn't see file that is there
I am migrating a Drupal site from my localhost to the most current Bitnami Drupal AMI on Amazon:
I uploaded the DB successfully.
I moved the files correctly.
I copied over the modules and libraries.
...
1
vote
1
answer
899
views
Installing Drupal module requires ftp access - macOS localhost
I have Drupal 8 running on localhost on macOS Catalina. When I try to install a module, I get prompted to enter ftp credentials (which I don't know). See the following screenshot.
I've seen solutions ...
2
votes
2
answers
3k
views
NotFoundHttpException after changing webiste hosting, sub-domain
After changing webiste hosting (Drupal 8) I got this very un-intuitive error message:
The website encountered an unexpected error. Please try again later.
Symfony\Component\HttpKernel\Exception\...
2
votes
2
answers
722
views
How to set body field display programmatically on node type install?
When hook_installing a new custom node type filled with custom fields I call field_create_instance($instance) where I also set the custom fields' display like so:
'display' => array(
'default' =&...
0
votes
1
answer
335
views
Can't get hook_uninstall to trigger
In mymodule.install i try to implement a hook_uninstall call, but it never triggers. What am I doing wrong?
function hook_uninstall() {
echo "uninstalling";
...more stuff...
}
4
votes
4
answers
9k
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 ...
1
vote
1
answer
499
views
GET /sites/default/files/js/js_xxxxxx.js - No such file or directory
This is my first post, I just started to learn and use Drupal, and I wish to install a fresh new site on my local Windows machine using composer. The issue is that it has a file not found error from ...
1
vote
1
answer
449
views
Using drush to install multiple sites, how?
I'm executing the following commands in /var/www/html on a clean Ubuntu 14.04 installation:
drush dl --drupal-project-rename=Platform
cd Platform
drush site install standard -y --db-url=[mysql ...
0
votes
1
answer
54
views
How to set configuration location on installation?
I'd like to use the configuration location above the webroot, $settings['config_sync_directory'] = '../config/sync'; in settings.php, as recommended by the documentation here, Changing the storage ...
0
votes
1
answer
427
views
How do I properly install the MailChimp module?
In order to install MailChimp in Drupal 8 I followed the instructions for the MailChimp Drupal module.
Instructions for 8.x-1.x
The 8.x-1.x release uses version 3.0 of the MailChimp API and ...
2
votes
1
answer
720
views
Install of drupal/core failed
my installation: > drupal > lando composer install :ended up as seen below, I have run out of ideas what to do with this.
117/118 [===========================>] 99% Install of drupal/...
1
vote
1
answer
522
views
Ajax error when installing
When installing Drupal 7.31 in the first page, I can't install with the following error message.
An AJAX HTTP error occurred,HTTP Result code 2: debugging information
follow, Path:htp://...
0
votes
1
answer
954
views
Install and enable 'Real AES' module: Dependency with Defuse PHP-encryption library
I downloaded the real_aes-8.x-2.2.zip file from the Real AES project page, unzipped and copied it to contrib module folder (/var/www/html/modules/contrib).
While trying to enable this module using ...
0
votes
0
answers
27
views
Installing CK Editor Media Embed fails
I'm trying to install the CK Editor Media Embed module for a client's Drupal 7 to Drupal 9 migration, since the old CK Editor 4 Iframe embedding doesn't seem to be available in Drupal 9.
I've followed ...
0
votes
1
answer
744
views
Ultimate Cron installation Table 'db_name.ultimate_cron_log' doesn't exist
After installing the ultimate cron module version 8.x-2.0-alpha4,
When I navigate to (/admin/config/system/cron/jobs), I get the following error meassage -
Base table or view not found: 1146 Table '...
2
votes
1
answer
1k
views
Installation keeps complaining that Unicode library (mbstring) should be disabled, even though it seems it already is
I'm trying to install Drupal 8.1.3.
(Apache 2.4.7, PHP 5.5.37, Windows 7)
In the "Verify Requirements" step Drupal keeps complaining
Unicode library -- Error -- Multibyte string input conversion ...
0
votes
2
answers
2k
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
2
answers
601
views
Enable rest resource resource when module installs
I have a custom rest resource I have created within my module:
/**
* Provides a Demo Resource
*
* @RestResource(
* id = "custom",
* label = @Translation("custom"),
* uri_paths = {
* "...
-1
votes
1
answer
255
views
Installing Drush 12 globally
We're trying to install a global Drush 12 installation for a Linux Debian server hosting multiple Drupal 10 websites in different folders.
We've tried simply doing a composer require drush/drush in a ...
0
votes
1
answer
702
views
Can't install modules from UI when site placed in subdirectory
I have Drupal 8 installed in a subfolder (www.example.com/drupal), and I have my root .htaccess configured to mask the subfolder (i.e. the URLs resolve to www.example.com; /drupal does not appear in ...
0
votes
1
answer
712
views
"Process 'Apache web server' failed to start. Port 8083 didn't open"
I'm trying to install Acquia Deve Desktop 2 for my windows 10 PC. When it's finished installing and I run the program, an error pop up message shows up saying Process 'Apache web server' failed to ...
2
votes
2
answers
1k
views
How to resolve my Open Atrium installation error?
I am very new to open atrium. I installed Open Atrium and now the home page is not loading properly. Instead I have the following error:
Warning: file_put_contents(temporary://fil29F1.tmp): failed ...
0
votes
1
answer
1k
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 ...
0
votes
2
answers
88
views
Can you set default configuration settings for a contrib on install?
I am looking to set default configuration settings for a contributed module, Nodeaccess, on install. I know that you can do that on site spin-up but this module will not be enabled by default. I tried ...
-1
votes
1
answer
122
views
How do I change hostname after installing?
I am a silly goose. I did something stupid and updated apache, php, and mysql before i had a chance to upgrade drupal, when I an much older versions. I had been updating my server and now the newer ...
1
vote
2
answers
518
views
How to update MariaDB?
I was following Set up Demo Site for Theming Practice; then, I realized that, since Drupal 9 is out, by default Drupal 9 is installed instead of Drupa 8.x is installed when running composer create-...
0
votes
2
answers
868
views
How can I check if the redis module is enabled in settings.php?
I've read How can I check if a module is enabled? and How can we use \Drupal class inside Settings.php and came to the conclusion that I cannot use the module_handler service in settings.php.
How can ...
0
votes
0
answers
145
views
Webserver issues, classes not found, failing to unlink cached files
When clearing caches via Drush cr I get
Failed to unlink file 'assets://css/css_4PAeT4dMiadmmD9t_xS9tkg36id2j4imvFUmocQZbdM.css'
which usually means no rights to delete but my system has all admin ...
1
vote
3
answers
966
views
Is a php filter available for Drupal 10.1.2?
Its been a few years since I've used Drupal (pretty much missing version 9), but I'm coming back to it with 10.1.2. I'm hoping to get a PHP filter installed for content, as I historically like to use ...
0
votes
0
answers
50
views
Uninstall and reinstall a newer version of a module using admin UI
I have installed a module (computed field v.3) using the "add from a url" option in the admin UI, then uninstalled it.
When trying to install the compute field v.4 I get the error "...
3
votes
1
answer
6k
views
How do I run a site from a sub-directory?
I want to serve my Drupal site which is installed on example.com/drupal from example.com.
This particular site is an add-on site on my shared host, so the actual file structure is public_html/example....
5
votes
0
answers
3k
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
votes
1
answer
167
views
After installation, pages do not use any CSS style
I installed Drupal on Ubuntu 22.24. I'm able to get everything done, but after the installation, the next page is all messed up and I have no other permission besides looking at this page.
How can I ...
0
votes
0
answers
167
views
Drupal 10 + Apache2 behind nginx reverse proxy setup with subdirectory
I am trying to access my drupal 10 + apache2 installation through a subdirectory.
Currently I use nginx as a reverse proxy to access all my services (nextcloud, joplin, grafana) on my server. ...
0
votes
1
answer
373
views
How can I set a custom project directory structure?
For Drupal 10 there's a recommended project structure (httpdocs/web, httpdocs/vendor) and a legacy structure (httpdocs, httpdocs/vendor). These are suitable for sites on shared hosts that provide SSH ...
1
vote
1
answer
1k
views
How do you install or turn on CKEditor 5 paste from word plugin
According to a conversation with CKEditor this feature is included in the Drupal 10 version. They do not support it and point you to
Documentation for paste from Word
We cannot find where to turn ...
0
votes
1
answer
51
views
Configure new site automatically
Is there a way for me to automate the form-filling steps on a brand new site's /install.php? I'm doing a bunch of experimenting where I set up a site inside a Docker container and try some stuff out, ...
1
vote
1
answer
808
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 ...
-3
votes
2
answers
184
views
settings.php permission denied on Mac
During a project installation always fails to install correctly.
Let me clarify this is how it should work: Drupal changes the chmod of settings.php to 777 and then applies changes for the drupal ...