developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
160
results
Andrew Fletcher
•
Running Docker, I deleted the images and containers they had been built to date. Time to refresh the environment and see what works and what isn't working. This action was a result of the dev environment failing to load.
Current versions
The PHP version is 8.1.12 apache 2.4.54-bullseye
Composer response
Composer versions 2.4.4 2022-10-27 14:39:29PHP response
PHP 8.1.12 (cli) (built: Nov 15 2022 04:46:23) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.12, Copyright (c)...
Andrew Fletcher
•
I've recently upgraded the server Ubuntu 20.04 updating the PHP version from 7.4...
Andrew Fletcher
•
A recent upgrade to PHP 8.1, has highlighted an error that hadn't been appearing...
Andrew Fletcher
•
Working in Drupal 9.5 and I'm now getting the following cache tag error
The...
Andrew Fletcher
•
Working in Drupal admin, going to a content type > manage form display and...
Andrew Fletcher
•
Working through and importing JSON data into a content type.
Drush migration commands
Check the status of the migration data
lando drush migrate-statusReset the migration status
lando drush migrate-reset-status migratable_riverdata_jsonImport JSON data
lando drush migrate-import migratable_riverdata_json
Rollback to before the import
lando drush migrate-rollback migratable_riverdata_json
Errors
What to do when a migration fails? You will see a response...
Andrew Fletcher
•
After cloning a site, next you will want to import the config file. Which...
Andrew Fletcher
•
Build the PHP base image with apache-buster using the Dockerfile.base
Since JN...
Andrew Fletcher
•
This is a relatively quick process, beginning with dropping the database...
Andrew Fletcher
•
Tailwind CSS is a highly customisable framework that delivers developers the...
Andrew Fletcher
•
Currently, we are upgrading a site from Drupal 7 to Drupal 9. During this upgrade, we have the opportunity to the site's search functionality and select a tool that is most suited to the website's requirements.
Searching on a website is integral to a site's functionality. Looking at Solr and Elasticsearch as the primary search engines. They're two of the most popular open-source search engines. To begin both of them are built on top of Apache Lucene, so the features they...
Andrew Fletcher
•
Import a database
lando db-import doj.sqlEnter the MySQL database
lando mysql...
Andrew Fletcher
•
Finding the issue with a server 500 error
The Nginx error logs are showing too...
Andrew Fletcher
•
Focusing on the ckan.ini file (/etc/ckan/default/ckan.ini). When I run the...
Andrew Fletcher
•
Listen in on the ports being used on your server. To do so, run the...