When you're doing development, most of the time, you don't want to minify css/js. Here's how you the respective settings: settings.local.php (drupal 7) 1$conf['preprocess_css'] = FALSE; 2$conf['preprocess_js'] = FALSE; settings.local.php (drupal 8 & 9) …
Read MoreFrom CLI This error is shown: 1failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed file.inc:1983 Solution Seems to be an issue with the temp file. Check "drush st" and confirm if the temp file is still accessible. This gives some hints on how to set the "temp and …
Read MoreCheck Current Character Set Settings in MySQL
1mysql> SHOW VARIABLES WHERE Variable_name LIKE 'character\_set\_%' OR Variable_name LIKE 'collation%'; Sample output as follows: Image not found a.warning-link { color: inherit !important; font-weight: inherit !important; text-decoration: underline !important; border-bottom: none !important; } Web …
Read MoreMethod 1 (env.json) in drupalroot/sites/default/env.json 1{ 2"conf_dir": "/etc/drupal/site_identifier_here/default" 3} in /etc/drupal/site_identifier_here/default, there is then a file globals.conf.d/globals.default.json with content: 1{ 2"id": "default", 3"databases": { …
Read More1/** 2* Load local development override configuration, if available. 3* 4* Use settings.local.php to override variables on secondary (staging, 5* development, etc) installations of this site. Typically used to disable 6* caching, JavaScript/CSS compression, re-routing of outgoing emails, and 7* other things that should …
Read More1<?php 2$databases['default']['default'] = array ( 3'database' => 'yourDB', 4'username' => 'yourDBA', 5'password' => 'yourDBPASS', 6'prefix' => '', 7'host' => 'localhost', 8'port' => …
Read MoreDo you have several drupal installation in a test server that you want to distinguish which is which? Add this to settings.local.php and it will override whatever is in database. 1$config['system.site']['name'] = "Example Site (Fixes)";
Read More