Skip to main content
51
results
Andrew Fletcher
I've recently upgraded the server Ubuntu 20.04 updating the PHP version from 7.4 to 8.1.  However, when I've attempted to export the MySQL database using the command drush sql-dump --extra-dump=--no-tablespaces --result-file=../sql/db-2023-02-25.sqlI seeing the following response > mysqldump: Couldn't execute 'FLUSH TABLES': Access denied; you need (at least one of) the RELOAD or FLUSH_TABLES privilege(s) for this operation (1227) In SqlCommands.php line 242: Unable to dump...
Andrew Fletcher
Recently I have been investigating one of my Linux server's speed using the...
Andrew Fletcher
I had generated a backup of key directories on the server - see Create a...
Andrew Fletcher
Currently, I have a situation where I have two repositories.  The first is...
Andrew Fletcher
Creating a bash script Bash scripts are files containing code that tell your...
Andrew Fletcher
Accessing a remote server using PEM key, and I had the following response @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for '/Users/andrewfletcher/Sites/PEM/{project}.pem' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Load key...
Andrew Fletcher
  Using the Drupal Poll module and passing via RESTful API -  How do...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
How to use the Drupal REST API to trigger I've forgot (need to change) my...
Andrew Fletcher
How do you generate a .pem file from an existing .ppk key? Is putty on your mac? Check by running the command puttygen -VWhich will generate a response similar to  puttygen: Release 0.76 Build platform: 64-bit Unix Compiler: clang 12.0.5 (clang-1205.0.22.9) Source commit: 1fd7baa7344bb....Don't have Putty, well easily fixed with homebrew. brew install putty  Generate the key We will use puttygen to generate the key. puttygen key.ppk -O private-openssh -o key.pem key.ppk the...
Andrew Fletcher
To get the X-CSRF token, first, you need to login as a member.  Follow the...
Andrew Fletcher
In retrieving an image, the primary element required is: File id or...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...
Andrew Fletcher
For an introduction into setting up RESTful hal+json refer to the set-up...