Skip to main content
109
results
Andrew Fletcher
Working on an Azure server I ran a mysqldump command to generate a copy of the db.  No issues, the file downloaded on to the serve without cause.   The Problem On my local environment, using Sequel Ace I imported the file, but it suddenly it stopped with a red message “Unknown collation: ‘utf8mb4_0900_ai_ci‘” [ERROR in query 14] Unknown collation: 'utf8mb4_0900_ai_ci'“Collation is the assembly of written information into a standard order. Many systems of collation are based on...
Andrew Fletcher
The migrate process saves the status of each running migration in the...
Andrew Fletcher
When attempting to backup mysql using the mysqldump command mysqldump -u root...
Andrew Fletcher
To remove all the contents from a directory, you need to ask yourself: Do I want...
Andrew Fletcher
How to Create New MySQL User Before you can create a new MySQL user, you need to...
Andrew Fletcher
You can create a new date/time format by navigating to: Admin -> Configuration -> Regional and Language -> Date and Time format and click on 'Add Format'. Once you’ve created date format, you can control the way date is displayed on the node using preprocess function. In {theme_name}.theme file, add the following lines /** * Implements hook_preprocess_node */ function THEME_NAME_preprocess_node(&$variables) { // Getting the node creation time stamp from the node object. $date...
Andrew Fletcher
This short guide explains to you how to extract/unzip .zip archive files to a...
Andrew Fletcher
I prefer htop over top on my Linux server.  Running a Solr index got...
Andrew Fletcher
The generally accepted answer to a mysqldump is: mysqldump -h [host] -u...
Andrew Fletcher
Wanting to create a new repository on GitHub, add in a few of the available...
Andrew Fletcher
On a git pull from remote dev environment to a staging environment running off AWS server... I was greeted with the white screen of death.  While it took me a while to resolve the actual issue, my action plan was as follows:   How to resolve: Look in your log files; Add a few lines to your index.php file   Log files If you have access via ssh they are usually located in /var/log.  To quickly which files have been updated / altered recently, run the following command when...
Andrew Fletcher
I needed the check if a file existed in a directory as the migrate script wasn't...
Andrew Fletcher
Joining a new company / team there is always a lot of new items to...
Andrew Fletcher
Updating Drupal from 8.7.10 to 8.8.x or 8.9.x has seen a significant change...
Andrew Fletcher
As outlined in an earlier article composer php version, when installing the...