Skip to main content
41
results
Andrew Fletcher
The red flag was when I saw the server disk space is showing a site is taking up 57992.5 MB, where locally the site size is showing 957MB.  There is something serious happening here and I need to establish the problem quickly.  When dealing with a significant discrepancy in site size between a local environment and a server, it's important to identify the root cause of the larger disk usage on the server.    Approaches for discovering the issue(s)   1. Analyse Large...
Andrew Fletcher
  Continuing on from the Drupal 9 to Drupal 10 upgrade outline written...
Andrew Fletcher
To run a SQL command using Drush, use the following sql-query command drush...
Andrew Fletcher
Drush open_basedir restriction error PHP Warning: include(): open_basedir...
Andrew Fletcher
To determine the size of a directory using the terminal, you can use the du...
Andrew Fletcher
These steps are for Drupal 8 and 9.   Export your database Order here is important.  First you want to clear all the Drupal caches.  Then export / dump the db the sql database to a file in your home directory. drush cr drush sql-dump > path/to/your/file/ourpout/sql-dump-file-name.sqlor drush sql-dump --extra-dump=--no-tablespaces --result-file=../sql/db-2022-12-07.sqlWithout having to manually set the date drush sql-dump --extra-dump=--no-tablespaces...
Andrew Fletcher
A summary of Node package commands Short cut commands npm install...
Andrew Fletcher
Resources - changing Drush Type Version Drush (current) 11.6.0 Drush...
Andrew Fletcher
Something I haven't had to do in a while is to change the name of a Git branch...
Andrew Fletcher
Post a NetSkope update, composer would fail when running any command that...
Andrew Fletcher
By default the maximum file upload size is set to 2MB.  It is not a Drupal issue, instead a php issue as upload_max_filesize is set in your php configuration (php.ini file).  Therefore it is a server-side configuration. If you have access to the php configuration file, I would recommend to make the changes directly in it.  Yet, on some occasions you cannot access the server configuration (on a shared hosting, for instance) and if you wish to alter some of your server...
Andrew Fletcher
I need to generate a patch and then apply automatically to my Drupal...
Andrew Fletcher
Post creating a new branch in the repo, next step was to run the checkout...
Andrew Fletcher
How to set the Private file path in Drupal using the following steps: Create a...
Andrew Fletcher
Using Composer to Manage Projects and if required their dependencies In this...