Skip to main content
39
results
Andrew Fletcher
Resources - changing Drush Type Version Drush (current) 11.6.0 Drush (update) 12.2.0 Updating Drush went OK on all testing environments until on to the staging environment.  The initial error that I saw was PHP Fatal error: Declaration of Drush\Style\DrushStyle::confirm($question, $default = true) must be compatible with Symfony\Component\Console\Style\SymfonyStyle::confirm(string $question, bool $default = true): bool in...
Andrew Fletcher
Attempting to run a composer update command, you know the one used...
Andrew Fletcher
Using Composer to Manage Projects and if required their dependencies In this...
Andrew Fletcher
Looking at composer I first wanted to check the current version, which is...
Andrew Fletcher
Recently I have been investigating one of my Linux server's speed using the...
Andrew Fletcher
Build the PHP base image with apache-buster using the Dockerfile.base Since JN blocks some libraries update and pull, follow the following steps to build the base image locally. Run the following command to build the base PHP image: Make sure you are in the project root directory before running the command and its a fresh window after changing the proxy docker build -f Dockerfile.base -t apachebuster8 .Errors running docker command If you experience errors when attempting to run the command...
Andrew Fletcher
This article works through the steps to update dependencies in the...
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 password. POST: {domain}/user/password?_format=hal_json Content-type: application/hal_json Accept: application/hal+jsonOr if you are using hal_json then use POST: {domain}/user/password?_format=json Content-type: application/json Accept: application/jsonBody { "mail": "your@yoursite.email" }All going well there will be no response.   Other responses However, if you have sent an email that doesn't exist on 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...