We’re selling tickets via Gravity Forms for one of the websites I manage. Events are managed via another plugin and whenever a purchase is made, the event ID is saved in the form entry. Of course, we can’t just display the ID in the backend. We want to see the name of the event, and […]
Adding and using WP-CLI in a docker-compose setup
For most of my WordPress projects I use my own Alcedo WordPress workflow. With some extra scripts, creating a new site is as easy as running ‘create site.c7’in the terminal. This sets up a full WordPress install with local domains and certificates. But, in this case i’m using a different setup in which I use […]
docker-compose, mysql:5.7 and configuration files.
In another blog post, I wrote about solving an issue with io_setup(). The issue was resolved by disabling native AIO in the configuration files. The database service in docker compose This is as minimalist as it gets. We’re using the mysql:5.7 image. The image automatically loads the configuration file in /etc/alternatives/my.cnf allowing us to make […]
Mysql on Docker: exited with code 0, io_setup() failed EAGAIN
I’ve encountered this several times and usually just run the quick fix: Destroy the container and restart with a new one. But, in this case, I really don’t want to go through that trouble, so let’s go ahead and fix this. What does it mean? Some quick research reveals that this has to do with […]
Export Mailgun logs using the Mailgun API
Sometimes there’s just no other way. You need to gather information about e-mails that were sent, but your application just doesn’t have the logging available. In this case, Mailgun does have the information stored that we need, but how do we extract it? Using the Mailgun API Mailgun doesn’t allow us to export logs/events using […]
Docker fails to connect with archive.ubuntu.com
Upon launching a new docker-compose setup, my Dockerfile suddenly had issues installing some packages, showing errors like: It took me some time to figure out what was happening, but this Medium post got me in the right direction. Somehow, when building, docker fails to run DNS queries. Debugging: what causes this? We can test the […]
Populating an ACF dropdown with forms from Gravity Forms
No need to explain, let’s dive into code!
Fix for upload folder is not writable in WordPress after importing database
I don’t think it ever took me so long to fix a permission issue in a WordPress development environment. I checked my docker-compose file. I logged into to the containers to confirm I could write as the web user. It was all good. The issue? There was a database entry that defined a custom path […]
Using ssh-keygen
Need an SSH keygen quickly? Here’s the command for you. Copy this, and add your e-mail address after like this: “[email protected]” (with quotation marks) Full command: After, you can just hit the “ENTER” key a couple of times, unless you want to set passphrases for your keys. (this is usually only the case for high […]
- « Previous Page
- 1
- …
- 5
- 6
- 7
- 8
- 9
- …
- 12
- Next Page »