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
11
results
Andrew Fletcher
•
Finalising a deployment to Drupal 10 and reviewing the latest log messages.
Flysystem - $context is deprecated
Deprecated function: Creation of dynamic property Drupal\flysystem\FlysystemBridge::$context is deprecated in Drupal\Core\File\FileSystem->doScanDirectory() (line 720 of /var/www/html/content/core/lib/Drupal/Core/File/FileSystem.php)
#0 /var/www/html/content/core/includes/bootstrap.inc(164): _drupal_error_handler_real(8192, 'Creation of dyn...', '/var/www/html/c...', 720)
#1...
Andrew Fletcher
•
Tailwind CSS is a highly customisable framework that delivers developers the...
Andrew Fletcher
•
Like many devs at the moment, looking for log4j2 on your server... how to...
Andrew Fletcher
•
I'm writing these steps primarily for myself as a reference. However, if...
Andrew Fletcher
•
I had an issue where logging in from the app disconnected. The error that...
Andrew Fletcher
•
Overview
To update ejabberd you need to remove it, then re-install with the latest version. However, do check for database changes before initiating this process from the ejabberd documentation site (https://docs.ejabberd.im/admin/upgrade/).
Preparation
Before you begin this process you first need to create a copy of the config file. Not sure where this file is located? Then in shell run
ejabberdctl helpWhen I run this command the output received is
Commands...
Andrew Fletcher
•
The starting point is to read through and follow the notes outlined on the...
Andrew Fletcher
•
To add Erlang repository that also includes the public key for verifying signed...
Andrew Fletcher
•
Adding a pem file to secure ejabbered on the server for chat connection.
Getting...
Andrew Fletcher
•
To access the ejabberd log files, I found them located at the following...
Andrew Fletcher
•
I had the issue where I needed to filter an array list by a specific column. In my instance, the column is language. To be able to reduce the query to the language column the code required is
levels = selectedCategory?.levels.filter("language = %@", language)Language can be any string, in this instance for me language is a two alpha character such as 'fr', 'en' or 'de'.
Further to this you can continue to chain this query through including sort as per
levels =...