Drupal 8: Entities neeeds to be deleted before importing error
The following was seen during configuration import (drush cim) 1The import failed due to the following reasons: 2Entities exist of type <em class="placeholder">Shortcut link</em> and <em class="placeholder">Shortcut set</em> <em …
Read MoreFrom /var/log/mariadb/mariadb.log, something like 1150515 12:10:45 InnoDB: Completed initialization of buffer pool 2150515 12:10:45 InnoDB: Fatal error: cannot allocate memory for the buffer pool 3150515 12:10:45 [ERROR] Plugin 'InnoDB' init function returned error. 4150515 12:10:45 [ERROR] Plugin …
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 MoreThis error is seen as follows: 1sh:module:line1:syntaxerror:unexpectedendoffile2sh:errorimportingfunctiondefinitionfor`BASH_FUNC_module'A lot of discussions has been done about it in https://github.com/drush-ops/drush/issues/2065#issuecomment-227820550 but the fix is made from /etc/php.ini: 1disable_functions = …
Read MoreProblem You encountered this error when running 'drush cim': 1Site UUID in source storage does not match the target storage. As mentioned, UUID no longer match. To fix, get the UUID in config/sync directory, something like below: 1awk '{for (I=1;I<=NF;I++) if ($I == "uuid:") {print $(I+1)};}' …
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 MoreFrom drupal admin UI: Administration > Configuration > Development > Performance But will work only if you have drupal admin login. Otherwise, you need to install drush instead and do the 'drush cc all' from there. Some other options -> …
Read More