The latest info about eLearning with Chamilo
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)…
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…
As a web developer configuring SSL certificates on websites you deliver, as we do, you might be faced, one day, with a small issue about configuring a 301 redirect from HTTP to HTTPS that has to be reverted. It so…
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…
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…
If you have to maintain an open source project written in PHP, like we do with Chamilo at BeezNest, you’ll have to test your software on multiple versions of PHP to make sure of how well your code is supported…
This command mentionned by Pete Doherty, found on in the comments of this article http://gitready.com/intermediate/2009/03/04/pick-out-individual-commits.html, is simply awesome: git log –graph –pretty=format’:%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset’ It will show something like this (in the terminal)
dirname(__FILE__) and __DIR__ give exactly the same result in PHP, although one (__DIR__) is evaluated at compile-time, while the other (dirname(__FILE__)) has at least part of it (the function) evaluated at execution time. Ever wondered what the difference is, in…
Did you ever develop some nice code, then simply wanted to check if a string was only composed of white spaces or tabs, and used something like this: if (!empty(trim($string))) { … } …only to get a bad error appear…
As we migrate to gettext for Chamilo LMS v10, we are also looking for a platform to host our translation system (considering our current translation system does not support gettext). We will migrate most existing translations, but we were looking…