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
172
results
Andrew Fletcher
•
The issue of over 300 simultaneous database connections in the context of AWS and Drupal can have several potential causes. Here are some common factors to consider:
Server Configuration
Check your server configuration to ensure it can handle the expected number of simultaneous connections. This includes parameters like max_connections in your database server configuration.
Traffic or Load Spike
A sudden increase in traffic or load on your Drupal site can lead to more simultaneous database...
Andrew Fletcher
•
Finalising a deployment to Drupal 10 and reviewing the latest log...
Andrew Fletcher
•
The error message "Attempting to re-run cron while it is already running" in...
Andrew Fletcher
•
Lando is a development environment tool that makes it easier to set up and...
Andrew Fletcher
•
In Drupal Twig templates, you can set a variable like paragraph_parent to the...
Andrew Fletcher
•
In the Drupal Status report, I'm seeing the following message
Not set
This attribute should be explicitly set to Lax, Strict or None. If set to None then the request must be made via HTTPS. See PHP documentation
The "SameSite" cookie attribute is a security feature in web browsers that helps prevent cross-site request forgery (CSRF) and cross-site scripting (XSS) attacks. This attribute allows web developers to control when cookies should be sent with cross-origin requests.
When you see a...
Andrew Fletcher
•
Create a Lando setup running Drupal 10.
The command you provided appears to be a...
Andrew Fletcher
•
In Drupal, the Watchdog module (or the logging system) is responsible for...
Andrew Fletcher
•
Update Drupal to 10.1.x and I'm receiving the following...
Andrew Fletcher
•
Loading the code in a platform - in this article, I'll be focusing on Android...
Andrew Fletcher
•
Set up your server
Begin by cleaning up your server environment. Do this by updating Ubuntu’s package index:
sudo apt update && sudo apt upgrade -y
Check if Python3 is already installed
python --versionResponse
Unknown option: -e
usage: python3 [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.Or
python3 --versionResponse
Python 3.8.10
Update Python
If you want to update to the latest version
sudo apt-get install python3...
Andrew Fletcher
•
By default the maximum file upload size is set to 2MB. It is not a...
Andrew Fletcher
•
Twig error
Twig\Error\SyntaxError: Unknown "filter" tag. in...
Andrew Fletcher
•
Post upgrading from Drupal 9.5.10 to Drupal 10.1.3, I was seeing the following...
Andrew Fletcher
•
To get Flysystem S3 ready for Drupal 10, I needed to apply the latest patch to...