Skip to main content
168
results
Andrew Fletcher
To run a SQL command using Drush, use the following sql-query command drush sql-query "COMMAND"As an example, in the following I will remove all of the records in the Watchdog.   Delete from watchdog To empty (clear) the watchdog table, which contains Drupal's log messages, using the above noted command. The command to delete all entries from the watchdog table is as follows: drush sql-query "DELETE FROM watchdog"This command executes a SQL DELETE operation on the watchdog table,...
Andrew Fletcher
In Drupal, the logging system is based on the PSR-3 logging standard, which...
Andrew Fletcher
Working through the following error Notice: Only variables should be passed by...
Andrew Fletcher
Using Drupal 10, VIews, Solr and Facets has post upgrade to version 10, created...
Andrew Fletcher
Attempting to apply a patch in Drupal 10.2.4 that had been working until this...
Andrew Fletcher
Drush open_basedir restriction error PHP Warning: include(): open_basedir restriction in effect. File(/usr/share/drush/includes/startup.inc) is not within the allowed path(s): (/var/www/vhosts/{domain}/:/tmp/) in /usr/share/drush/drush on line 113 PHP Warning: include(/usr/share/drush/includes/startup.inc): Failed to open stream: Operation not permitted in /usr/share/drush/drush on line 113 PHP Warning: include(): Failed opening '/usr/share/drush/includes/startup.inc' for inclusion...
Andrew Fletcher
To determine the size of a directory using the terminal, you can use the du...
Andrew Fletcher
Having updated Solr, re-indexing wasn't working. The error in the logs...
Andrew Fletcher
Have you had the situation where you needed to compare the files recorded in the...
Andrew Fletcher
These steps are for Drupal 8 and 9.   Export your database Order here is...
Andrew Fletcher
When reloading a page, you may encounter the following error: Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/content/core/lib/Drupal/Core/{some file .php} on line n  Solution To resolve this issue, you need to adjust the max_execution_time parameter in the php.ini file. Use the following command to locate your php.ini file: php --iniThe response will be similar to Configuration File (php.ini) Path: /usr/local/etc/php Loaded Configuration File: ...
Andrew Fletcher
Overview of the elements Set Up API Keys Obtain API keys for Pinecone and...
Andrew Fletcher
The issue of over 300 simultaneous database connections in the context of AWS...
Andrew Fletcher
Finalising a deployment to Drupal 10 and reviewing the latest log...
Andrew Fletcher
The error message "Attempting to re-run cron while it is already running" in...