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
39
results
Andrew Fletcher
•
The error message "Attempting to re-run cron while it is already running" in Drupal typically indicates that another instance of the cron job is still running when the system tries to start a new one. Cron is a process that performs various tasks for Drupal, such as indexing content, checking for updates, and performing other scheduled tasks.
Some potential causes and solutions for this issue
Long-Running Cron Jobs
If a cron job takes longer to complete than the interval between cron runs, it...
Andrew Fletcher
•
Resources - changing Drush
Type
Version
Drush (current)
11.6.0
Drush...
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
•
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
•
The challenge I was facing, I had written a script to scan barcodes and use...
Andrew Fletcher
•
It appears that the plugin or file path is not working how it used to be on...
Andrew Fletcher
•
Had the situation where you are running composer however, the scripts stops with...
Andrew Fletcher
•
This article references some of the common commands via CLI (command-line interface) in running a Cordova app.
Platforms
Platforms are the environment(s) that you want to run your app on. We will add the 'ios' and 'android' platform and ensure they get saved to config.xml and package.json files.
To add a platform use the following command:
cordova platform add {platform}Therefore, to add ios and android run:
cordova platform add ios
cordova platform add androidTo get a list...
Andrew Fletcher
•
How can you find out if the Cordova plugins have been loaded?
Begin by running...
Andrew Fletcher
•
Updating the Cordova plugins... there are two locations to manage the...
Andrew Fletcher
•
While working with lando, I had the following error
ERROR: for safs_appserver_1...
Andrew Fletcher
•
Let say in composer.json you have
"drupal/core-recommended": "^9.2" You're...