Moving a WordPress site: Changing URL and/or sub-folder from the command line

When maintaining a WordPress site, you might find it challenging to find the settings to update to properly convert your site from one URL to another, or from a root directory to a sub-directory. For example, you might want to…

More Details
Why so many settings in Chamilo’s configuration.php?

If you install Chamilo 1.11.6, for example, and dive into the details of its configuration, you might get confused by the fact that we have a “settings_current” table in the database at the same time as we have a (large)…

More Details
Twig errors with custom template on Chamilo upgrade

If you use Chamilo and decided to develop your own template, you might be faced with an issue while upgrading from Chamilo 1.11.2 (or below) to 1.11.4 (or above). The issue will usually be reflected by either of these: a…

More Details
Chart of execution time between dirname(__FILE__) and __DIR__ in PHP, showing 4 to 10 times efficiency improvement using __DIR__
dirname(__FILE__) vs __DIR__, which is faster?

If you’re developing PHP software today but studied PHP based on old-ish manuals or manuals written by people who did, you might find a mix of calls to dirname(__FILE__) and __DIR__ and wonder what the difference is… Past the fact…

More Details
How to properly rename a projet in Redmine

Redmine is a project management system and a support ticket management system. See other articles on this blog and my video on YouTube about a previous version of Redmine for more info. At some point (and this only happened to…

More Details
Change the URL of a Chamilo portal copy

There is a surprising number of cases where you’d want to change the URL of a Chamilo portal, but the more common we see is when you take a backup copy of a portal and want to use that copy…

More Details
Upgrade Chamilo 1.9 to 1.11 through Git

If you are a developer or system administrator and you (wisely) manage some Chamilo portals through Git, you might want to upgrade, at some point, from Chamilo 1.9(.x) to Chamilo 1.11(.x). This is a complex process, for many reasons, so…

More Details
Avoiding the eternal effect of an HTTP 301 permanent redirect

This article should be extended soon, but in the meantime, we thought this article Mark S. Kolich couldn’t be missed if you’re having issues with HTTP 301 permanent redirect configurations. http://mark.koli.ch/set-cache-control-and-expires-headers-on-a-redirect-with-mod-rewrite An interesting discussion was also going on in the…

More Details
Quick install guide for Chamilo 1.10 on Digital Ocean

This guide will take you through the process of installing Chamilo 1.10.2 (from Github packages) for testing on a fresh Digital Ocean instance. A previous article on this blog explains how to install Chamilo 1.9 using Juju Charms. To follow…

More Details
Change SVG icons to grayscale with Inkscape

If you design your icons in SVG with Inkscape and wonder how to quickly make an “inactive” icon in grayscale, here’s a quick fix (at least for Linux users): inkscape -f teacher_na.svg –verb EditSelectAll –verb org.inkscape.color.desaturate.noprefs –verb FileSave –verb FileQuit…

More Details