1## Generate drupal admin access. 2## 3drush user:create admin --mail="admin.NOREPLY@example.com" --password="admin" 4drush user:role:add "administrator" admin
Read MoreAcquia varnish cannot cache files >10MB as per https://docs.acquia.com/acquia-cloud/performance/varnish/files/ To find for those >10MB files, search from the sites/default/files: 1find ./ -type f -size +10M -exec du -sh '{}' \; -print|grep -v ^\./| sort -n
Read MoreWhen you login to drupal via https://example.com/user and it is not found, try to check for the following: Does it have .htaccess if in an apache web server? If in nginx, is the correct virtualhost rules in place? Does documentroot in apache have the needed directives to activate .htaccess? Answer that and you will …
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 MoreFrom CLI 1drush st This error is shown: 1PHP Fatal error: Uncaught Error: Call to undefined function cache_get() in xxxx Solution Is always due to php syntax error. What did you add just recently? Perhaps a semicolon is missing in settings.local.php? Further information in …
Read MoreGo to drupal root, then: 1drush upwd --password="newPassword_here" "the_user" More info in https://www.drupal.org/node/44164
Read MoreSolr is already up and accessible from browser and within the drupal server but when connected through proper drupal admin settings, it says cannot connect to server. Solution is to create solr core. See https://ismael.casimpan.com/quicktasks-solr/post/create-solr-core-with-config/ or …
Read MoreWas seeing some session issue as follows: 1[me@example default]$ cd /var/www/example.com/docroot 2[me@example docroot]$ drush st 34session_set_save_handler(): Cannot change save handler when headers already sent session.inc:242 [warning] 5session_id(): Cannot change session id when headers already sent session.inc:266 …
Read MoreAt the end of composer install, the following was shown: 1In UpdateDBCommands.php line 109: 23Drupal removed its automatic entity-updates API in 8.7. See https://www.dru 4pal.org/node/3034742. 567entity:updates [--cache-clear [CACHE-CLEAR]] [--no-cache-clear] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] …
Read MoreIn Drupal Admin, do the following: Config > Search and Metadata > Search API Click on the index name (e.g. Events) Image not found a.warning-link { color: inherit !important; font-weight: inherit !important; text-decoration: underline !important; border-bottom: none !important; } Web path: …
Read More