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
156
results
Andrew Fletcher
•
Following is a series of steps to install Tika and have it running for your Solr Search API Attachments.
Java is it running on your server
To begin you must have Java installed on your server/machine. To check if Java is installed use the command
java -versionPerforming the above command will output something similar to:
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~20.04-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed...
Andrew Fletcher
•
You can create a new date/time format by navigating to:
Admin ->...
Andrew Fletcher
•
To assist in finding possible solutions some of the queries that I made...
Andrew Fletcher
•
Creating a message log using Drupal watchdog.
Simple log
// Logs a...
Andrew Fletcher
•
Working in Twig, I had to add classes to a pre-existing array. Whilst I've...
Andrew Fletcher
•
On a git pull from remote dev environment to a staging environment running off AWS server... I was greeted with the white screen of death. While it took me a while to resolve the actual issue, my action plan was as follows:
How to resolve:
Look in your log files;
Add a few lines to your index.php file
Log files
If you have access via ssh they are usually located in /var/log. To quickly which files have been updated / altered recently, run the following command when...
Andrew Fletcher
•
A recent attempt to run an update composer (regular activity for many of...
Andrew Fletcher
•
I was trying to create something quite simple. How to get image file uri...
Andrew Fletcher
•
I'm writing these steps primarily for myself as a reference. However, if...
Andrew Fletcher
•
Setting up a new project in Docker and VS Code.
Using Terminal, go to your...
Andrew Fletcher
•
Load testing verifies the system performance under the expected peak load. The peak load needs to set by a series of parameters that you have benchmarked targets. For example, these parameters could include:
Load testing:
20,000 concurrent users; and
response time of under 4 seconds
Stress testing:
Verifies the server performance under extreme load. Test this through examining how many users are required to bring your server
Endurance testing:
Load test over an extended...
Andrew Fletcher
•
A bug bear that I have had for a while with Drupal content is how come the...
Andrew Fletcher
•
Time is essential to all of us... and if you are like me there is never enough...
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...