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
42
results
Andrew Fletcher
•
Working in Lando and you have hit the situation where you need to view the log files. Where? How?
Lando has several log layers to assist in diagnosing many of the issues you might encounter.
Install Logs
Failed installation? Find logs in the following locations:
macOS - /var/log/install.log
Linux - Differs per system but check common apt or dnf/yum logs
Runtime Logs
Runtime? Check:
macOS/LINUX - ~/.lando/logsThere should be core lando logs called...
Andrew Fletcher
•
Changes in your .env file
Connecting your app to the new environment you need to...
Andrew Fletcher
•
Changing git push from passphrase? There are several ways to tackle this...
Andrew Fletcher
•
Let say in composer.json you have
"drupal/core-recommended": "^9.2" You're...
Andrew Fletcher
•
Running composer on a server... when running the command composer update, screen...
Andrew Fletcher
•
Have you tried to run a composer update script that has bower-asset/jquery-ui-slider-pips set? I have and realised that jquery-ui-slider-pips package had been removed. So I added it back, and ran the command composer update.
composer update
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires bower-asset/jquery-ui-slider-pips, it...
Andrew Fletcher
•
You can create a new date/time format by navigating to:
Admin ->...
Andrew Fletcher
•
A recent attempt to run an update composer (regular activity for many of...
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...
Andrew Fletcher
•
Core Data - customising our data model
When you are using Core Data, and let's say that you have a requirement to have an attribute where the options available should be a defined list. Such as "Not Started", "Pending", "In Development" and "Completed". How do you create this as an option in Core Data?
Thinking out loud, the practical solution would be to use an enum. But how do you use a enum in this instance? As you might have noticed, unfortunately, it...
Andrew Fletcher
•
Running a common composer command, post an upgrade on the server to Centos 7 and...