Skip to main content
187
results
Andrew Fletcher
When managing a server or developing applications, particularly on an Ubuntu system running Nginx, it's often necessary to verify the existence of files. This is crucial for tasks like deploying new versions, checking configuration files, or ensuring that required assets are in place. In this article, we'll explore how to use command-line queries to check if a file exists, highlighting various options and methods you can use.   Basic File Check with test Command The test command is a simple...
Andrew Fletcher
To review the content of files being generated in the /tmp directory on an...
Andrew Fletcher
The issue – I have a content type that includes an entity reference revisions...
Andrew Fletcher
When building a theme in Drupal, it's often necessary to adapt your site’s UI...
Andrew Fletcher
Dealing with errors in Drupal development is a common occurrence, and...
Andrew Fletcher
Alright, picture this: you're knee-deep in Drupal 10 development, churning out code like a pro. But hold up, what's this? Twig debug mode is still on in production? Cue the headaches. Suddenly, your beautifully crafted HTML is drowning in unnecessary output, and innocent contact form responses are sprouting template suggestions left and right. It's a mess. In the world of Drupal, keeping things secure and streamlined is key. And one crucial piece of the puzzle? Managing Twig template debugging....
Andrew Fletcher
I'm getting the following error TypeError: Cannot assign null to property...
Andrew Fletcher
A growing list of commands I've used and what they do in no specific order sudo...
Andrew Fletcher
Have you ever walked into a situation at work and just wondered how everything...
Andrew Fletcher
The red flag was when I saw the server disk space is showing a site is taking up...
Andrew Fletcher
Extending the functionality of a contrib module in Drupal can enhance its usefulness without altering the original codebase. This article provides a step-by-step guide on how to add custom configuration options to an existing contrib module, using the sitewide_alert module as an example. We will extend its configuration by adding new settings through a separate custom module named sitewide_alert_ext. Prerequisites Drupal 10 installation sitewide_alert contrib module installed and enabled Basic...
Andrew Fletcher
When receiving a logic error such as LogicException: Form errors cannot be set...
Andrew Fletcher
When Solr is displaying results on the site, first step is to log in the server...
Andrew Fletcher
Adding a new service to a custom module and the following error greeted me: The...
Andrew Fletcher
  Continuing on from the Drupal 9 to Drupal 10 upgrade outline written...